/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_md.function | 32 TEST_ASSERT( mbedtls_md_setup( &ctx, info, 0 ) == 0 ); 57 TEST_ASSERT( mbedtls_md_setup( &ctx, NULL, 0 ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA ); 58 TEST_ASSERT( mbedtls_md_setup( NULL, info, 0 ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA ); 203 TEST_ASSERT ( 0 == mbedtls_md_setup( &ctx, md_info, 0 ) ); 204 TEST_ASSERT ( 0 == mbedtls_md_setup( &ctx_copy, md_info, 0 ) ); 250 TEST_ASSERT ( 0 == mbedtls_md_setup( &ctx, md_info, 0 ) ); 251 TEST_ASSERT ( 0 == mbedtls_md_setup( &ctx_copy, md_info, 0 ) ); 323 TEST_ASSERT ( 0 == mbedtls_md_setup( &ctx, md_info, 1 ) );
|
D | test_suite_pkcs5.function | 23 TEST_ASSERT( mbedtls_md_setup( &ctx, info, 1 ) == 0 );
|
D | test_suite_entropy.function | 481 TEST_ASSERT( mbedtls_md_setup( &accumulator, md_info, 0 ) == 0 );
|
D | test_suite_ssl.function | 1274 CHK( mbedtls_md_setup( &t_out->md_ctx_enc, md_info, 1 ) == 0 ); 1275 CHK( mbedtls_md_setup( &t_out->md_ctx_dec, md_info, 1 ) == 0 ); 1276 CHK( mbedtls_md_setup( &t_in->md_ctx_enc, md_info, 1 ) == 0 ); 1277 CHK( mbedtls_md_setup( &t_in->md_ctx_dec, md_info, 1 ) == 0 ); 4458 TEST_EQUAL( 0, mbedtls_md_setup( &ctx, md_info, 1 ) ); 4459 TEST_EQUAL( 0, mbedtls_md_setup( &ref_ctx, md_info, 1 ) );
|
/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | md.c | 396 return mbedtls_md_setup( ctx, md_info, 1 ); in mbedtls_md_init_ctx() 409 int mbedtls_md_setup( mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac ) in mbedtls_md_setup() function 675 if( ( ret = mbedtls_md_setup( &ctx, md_info, 0 ) ) != 0 ) in mbedtls_md_file() 806 if( ( ret = mbedtls_md_setup( &ctx, md_info, 1 ) ) != 0 ) in mbedtls_md_hmac()
|
D | pkcs5.c | 190 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 1 ) ) != 0 ) in mbedtls_pkcs5_pbes2() 379 if( ( ret = mbedtls_md_setup( &sha1_ctx, info_sha1, 1 ) ) != 0 ) in mbedtls_pkcs5_self_test()
|
D | hkdf.c | 128 if( ( ret = mbedtls_md_setup( &ctx, md, 1 ) ) != 0 ) in mbedtls_hkdf_expand()
|
D | hmac_drbg.c | 125 if( ( ret = mbedtls_md_setup( &ctx->md_ctx, md_info, 1 ) ) != 0 ) in mbedtls_hmac_drbg_seed_buf() 254 if( ( ret = mbedtls_md_setup( &ctx->md_ctx, md_info, 1 ) ) != 0 ) in mbedtls_hmac_drbg_seed()
|
D | ssl_cookie.c | 109 ret = mbedtls_md_setup( &ctx->hmac_ctx, mbedtls_md_info_from_type( COOKIE_MD ), 1 ); in mbedtls_ssl_cookie_setup()
|
D | pkcs12.c | 297 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 0 ) ) != 0 ) in mbedtls_pkcs12_derivation()
|
D | rsa.c | 1202 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 0 ) ) != 0 ) in mbedtls_rsa_rsaes_oaep_encrypt() 1401 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 0 ) ) != 0 ) in mbedtls_rsa_rsaes_oaep_decrypt() 1661 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 0 ) ) != 0 ) in rsa_rsassa_pss_sign() 2088 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 0 ) ) != 0 ) in mbedtls_rsa_rsassa_pss_verify_ext()
|
D | constant_time.c | 485 MD_CHK( mbedtls_md_setup( &aux, ctx->md_info, 0 ) ); in mbedtls_ct_hmac()
|
D | ssl_tls.c | 444 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 1 ) ) != 0 ) in tls1_prf() 498 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 1 ) ) != 0 ) in tls1_prf() 720 if ( ( ret = mbedtls_md_setup( &md_ctx, md_info, 1 ) ) != 0 ) in tls_prf_generic() 1128 if( ( ret = mbedtls_md_setup( &transform->md_ctx_enc, md_info, 1 ) ) != 0 || in ssl_populate_transform() 1129 ( ret = mbedtls_md_setup( &transform->md_ctx_dec, md_info, 1 ) ) != 0 ) in ssl_populate_transform() 7652 if( ( ret = mbedtls_md_setup( &ctx, md_info, 0 ) ) != 0 ) in mbedtls_ssl_get_key_exchange_md_tls1_2()
|
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/ |
D | md.h | 215 int mbedtls_md_setup( mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac );
|
/openthread-3.4.0/third_party/mbedtls/repo/programs/hash/ |
D | generic_sum.c | 216 if( mbedtls_md_setup( &md_ctx, md_info, 0 ) ) in main()
|
/openthread-3.4.0/third_party/mbedtls/repo/programs/aes/ |
D | crypt_and_hash.c | 200 if( mbedtls_md_setup( &md_ctx, md_info, 1 ) != 0 ) in main()
|
/openthread-3.4.0/src/core/crypto/ |
D | crypto_platform.cpp | 165 VerifyOrExit((mbedtls_md_setup(context, mdInfo, 1) == 0), error = kErrorFailed); in otPlatCryptoHmacSha256Init()
|
/openthread-3.4.0/third_party/mbedtls/repo/ |
D | ChangeLog | 688 * Fix a memory leak in mbedtls_md_setup() when using HMAC under low memory
|