/openthread-3.6.0/third_party/mbedtls/repo/library/ |
D | rsa_internal.c | 74 mbedtls_mpi K; /* Temporary holding the current candidate */ in mbedtls_rsa_deduce_primes() local 104 mbedtls_mpi_init( &K ); in mbedtls_rsa_deduce_primes() 131 mbedtls_mpi_lset( &K, primes[attempt] ); in mbedtls_rsa_deduce_primes() 134 MBEDTLS_MPI_CHK( mbedtls_mpi_gcd( P, &K, N ) ); in mbedtls_rsa_deduce_primes() 140 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &K, &K, &T, N, in mbedtls_rsa_deduce_primes() 148 if( mbedtls_mpi_cmp_int( &K, 1 ) == 0 ) in mbedtls_rsa_deduce_primes() 151 MBEDTLS_MPI_CHK( mbedtls_mpi_add_int( &K, &K, 1 ) ); in mbedtls_rsa_deduce_primes() 152 MBEDTLS_MPI_CHK( mbedtls_mpi_gcd( P, &K, N ) ); in mbedtls_rsa_deduce_primes() 166 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_int( &K, &K, 1 ) ); in mbedtls_rsa_deduce_primes() 167 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &K, &K, &K ) ); in mbedtls_rsa_deduce_primes() [all …]
|
D | sha256.c | 127 static const uint32_t K[] = variable 165 #define P(a,b,c,d,e,f,g,h,x,K) \ argument 168 local.temp1 = (h) + S3(e) + F1((e),(f),(g)) + (K) + (x); \ 199 local.A[5], local.A[6], local.A[7], local.W[i], K[i] ); in mbedtls_internal_sha256_process() 214 local.A[5], local.A[6], local.A[7], local.W[i+0], K[i+0] ); in mbedtls_internal_sha256_process() 216 local.A[4], local.A[5], local.A[6], local.W[i+1], K[i+1] ); in mbedtls_internal_sha256_process() 218 local.A[3], local.A[4], local.A[5], local.W[i+2], K[i+2] ); in mbedtls_internal_sha256_process() 220 local.A[2], local.A[3], local.A[4], local.W[i+3], K[i+3] ); in mbedtls_internal_sha256_process() 222 local.A[1], local.A[2], local.A[3], local.W[i+4], K[i+4] ); in mbedtls_internal_sha256_process() 224 local.A[0], local.A[1], local.A[2], local.W[i+5], K[i+5] ); in mbedtls_internal_sha256_process() [all …]
|
D | sha512.c | 156 static const uint64_t K[80] = variable 225 #define P(a,b,c,d,e,f,g,h,x,K) \ in mbedtls_internal_sha512_process() argument 228 local.temp1 = (h) + S3(e) + F1((e),(f),(g)) + (K) + (x); \ in mbedtls_internal_sha512_process() 250 local.A[5], local.A[6], local.A[7], local.W[i], K[i] ); in mbedtls_internal_sha512_process() 274 local.A[5], local.A[6], local.A[7], local.W[i], K[i] ); i++; in mbedtls_internal_sha512_process() 276 local.A[4], local.A[5], local.A[6], local.W[i], K[i] ); i++; in mbedtls_internal_sha512_process() 278 local.A[3], local.A[4], local.A[5], local.W[i], K[i] ); i++; in mbedtls_internal_sha512_process() 280 local.A[2], local.A[3], local.A[4], local.W[i], K[i] ); i++; in mbedtls_internal_sha512_process() 282 local.A[1], local.A[2], local.A[3], local.W[i], K[i] ); i++; in mbedtls_internal_sha512_process() 284 local.A[0], local.A[1], local.A[2], local.W[i], K[i] ); i++; in mbedtls_internal_sha512_process() [all …]
|
D | dhm.c | 430 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &ctx->K, &GYb, &ctx->X, in mbedtls_dhm_calc_secret() 436 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &ctx->K, &ctx->K, &ctx->Vf ) ); in mbedtls_dhm_calc_secret() 437 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &ctx->K, &ctx->K, &ctx->P ) ); in mbedtls_dhm_calc_secret() 442 *olen = mbedtls_mpi_size( &ctx->K ); in mbedtls_dhm_calc_secret() 443 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &ctx->K, output, *olen ) ); in mbedtls_dhm_calc_secret() 466 mbedtls_mpi_free( &ctx->K ); in mbedtls_dhm_free()
|
D | ripemd160.c | 144 P( (a), (b), (c), (d), (e), (r), (s), F, K ); \ in mbedtls_internal_ripemd160_process() 150 #define K 0x00000000 in mbedtls_internal_ripemd160_process() macro 170 #undef K in mbedtls_internal_ripemd160_process() 175 #define K 0x5A827999 in mbedtls_internal_ripemd160_process() macro 195 #undef K in mbedtls_internal_ripemd160_process() 200 #define K 0x6ED9EBA1 in mbedtls_internal_ripemd160_process() macro 220 #undef K in mbedtls_internal_ripemd160_process() 225 #define K 0x8F1BBCDC in mbedtls_internal_ripemd160_process() macro 245 #undef K in mbedtls_internal_ripemd160_process() 250 #define K 0xA953FD4E in mbedtls_internal_ripemd160_process() macro [all …]
|
D | hmac_drbg.c | 69 unsigned char K[MBEDTLS_MD_MAX_SIZE]; in mbedtls_hmac_drbg_update_ret() local 89 if( ( ret = mbedtls_md_hmac_finish( &ctx->md_ctx, K ) ) != 0 ) in mbedtls_hmac_drbg_update_ret() 93 if( ( ret = mbedtls_md_hmac_starts( &ctx->md_ctx, K, md_len ) ) != 0 ) in mbedtls_hmac_drbg_update_ret() 103 mbedtls_platform_zeroize( K, sizeof( K ) ); in mbedtls_hmac_drbg_update_ret()
|
D | sha1.c | 144 (e) += S((a),5) + F((b),(c),(d)) + K + (x); \ in mbedtls_internal_sha1_process() 155 #define K 0x5A827999 in mbedtls_internal_sha1_process() macro 178 #undef K in mbedtls_internal_sha1_process() 182 #define K 0x6ED9EBA1 in mbedtls_internal_sha1_process() macro 205 #undef K in mbedtls_internal_sha1_process() 209 #define K 0x8F1BBCDC in mbedtls_internal_sha1_process() macro 232 #undef K in mbedtls_internal_sha1_process() 236 #define K 0xCA62C1D6 in mbedtls_internal_sha1_process() macro 259 #undef K in mbedtls_internal_sha1_process()
|
D | ecjpake.c | 744 mbedtls_ecp_point K; in mbedtls_ecjpake_derive_secret() local 758 mbedtls_ecp_point_init( &K ); in mbedtls_ecjpake_derive_secret() 771 MBEDTLS_MPI_CHK( mbedtls_ecp_muladd( &ctx->grp, &K, in mbedtls_ecjpake_derive_secret() 774 MBEDTLS_MPI_CHK( mbedtls_ecp_mul( &ctx->grp, &K, &ctx->xm2, &K, in mbedtls_ecjpake_derive_secret() 779 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &K.X, kx, x_bytes ) ); in mbedtls_ecjpake_derive_secret() 783 mbedtls_ecp_point_free( &K ); in mbedtls_ecjpake_derive_secret()
|
D | rsa.c | 2461 mbedtls_mpi K; in mbedtls_rsa_self_test() local 2463 mbedtls_mpi_init( &K ); in mbedtls_rsa_self_test() 2466 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &K, 16, RSA_N ) ); in mbedtls_rsa_self_test() 2467 MBEDTLS_MPI_CHK( mbedtls_rsa_import( &rsa, &K, NULL, NULL, NULL, NULL ) ); in mbedtls_rsa_self_test() 2468 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &K, 16, RSA_P ) ); in mbedtls_rsa_self_test() 2469 MBEDTLS_MPI_CHK( mbedtls_rsa_import( &rsa, NULL, &K, NULL, NULL, NULL ) ); in mbedtls_rsa_self_test() 2470 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &K, 16, RSA_Q ) ); in mbedtls_rsa_self_test() 2471 MBEDTLS_MPI_CHK( mbedtls_rsa_import( &rsa, NULL, NULL, &K, NULL, NULL ) ); in mbedtls_rsa_self_test() 2472 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &K, 16, RSA_D ) ); in mbedtls_rsa_self_test() 2473 MBEDTLS_MPI_CHK( mbedtls_rsa_import( &rsa, NULL, NULL, NULL, &K, NULL ) ); in mbedtls_rsa_self_test() [all …]
|
D | ssl_cli.c | 3711 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: K ", &ssl->handshake->dhm_ctx.K ); in ssl_write_client_key_exchange()
|
D | ssl_srv.c | 4153 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: K ", &ssl->handshake->dhm_ctx.K ); in ssl_parse_client_key_exchange()
|
D | ssl_tls.c | 2060 MBEDTLS_SSL_DEBUG_MPI( 3, "DHM: K ", &ssl->handshake->dhm_ctx.K ); in mbedtls_ssl_psk_derive_premaster()
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/data_files/ |
D | rsa_pkcs8_pbes2_pbkdf2_2048_3des.pem | 14 aaiIGd/a2YxB5yW0oAIBBFnm5koTWeKW/K+LDWOE67S2qSxIfr1goFxIDbe1Y2Mv 27 u5n0Ocu6UrKxLdlpv9hLHTMbvUZMiLOef7IK+K+Bxc5dXttPe7rtBNhzJp00by8q
|
D | rsa_pkcs8_pbe_sha1_1024_rc4_128.pem | 6 tKluUauy4diqA5jrJ1ShmrFmNTvtzAPfMX+QohuY8nhRUeH6bx9dEWpbIq/1K/25
|
D | server7-expired.crt | 21 yueZsAAEb//A6EU008WmG/K+EY230JxEUzGNf2l1j1H94HcP9OwjY4bn2PJdVzcb
|
D | rsa_pkcs1_4096_aes128.pem | 43 Daq5gnCBeTwNwiSkoM5WjjlGGl3K1ubm8t1dEbjgL0tUHEv/A+cD94SkqwdPiL+K
|
D | rsa_pkcs1_4096_3des.pem | 19 4zMFpLuhxLAI6IJlqjM8TQhRmP79oGxolF/rNyOR+3K+HFjEFaBW/Cm6WZVKYV6N
|
/openthread-3.6.0/third_party/mbedtls/repo/include/mbedtls/ |
D | dhm.h | 119 mbedtls_mpi K; /*!< The shared secret = \c G^(XY) mod \c P. */ member
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto.data | 1990 PSA symmetric encrypt validation: ChaCha20, K=0 N=0 1994 PSA symmetric encrypt validation: ChaCha20, K=rand N=rand 1998 PSA symmetric encrypt multipart: ChaCha20, K=0 N=0 2002 PSA symmetric encrypt multipart: ChaCha20, K=rand N=rand 2010 PSA symmetric decrypt multipart: ChaCha20, K=rand N=rand
|
D | test_suite_psa_crypto.function | 467 memset( buffer, 'K', byte_size ); 488 TEST_EQUAL( buffer[n], 'K' );
|
/openthread-3.6.0/third_party/mbedtls/repo/ |
D | ChangeLog | 3219 * Fix preprocessor checks for bn_mul PPC asm (found by Barry K. Nathan). 3221 interpret semicolons as comment delimiters (found by Barry K. Nathan). 3266 (found by Barry K. Nathan) 3695 * Fix preprocessor checks for bn_mul PPC asm (found by Barry K. Nathan). 3697 interpret semicolons as comment delimiters (found by Barry K. Nathan).
|