Searched refs:mbedtls_md_setup (Results 1 – 13 of 13) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | md.h | 215 int mbedtls_md_setup( mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac );
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A 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()
|
A D | md.c | 399 return mbedtls_md_setup( ctx, md_info, 1 ); in mbedtls_md_init_ctx() 412 int mbedtls_md_setup( mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info, int hmac ) in mbedtls_md_setup() function 678 if( ( ret = mbedtls_md_setup( &ctx, md_info, 0 ) ) != 0 ) in mbedtls_md_file() 809 if( ( ret = mbedtls_md_setup( &ctx, md_info, 1 ) ) != 0 ) in mbedtls_md_hmac()
|
A D | hkdf.c | 128 if( ( ret = mbedtls_md_setup( &ctx, md, 1 ) ) != 0 ) in mbedtls_hkdf_expand()
|
A 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()
|
A 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()
|
A D | pkcs12.c | 297 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 0 ) ) != 0 ) in mbedtls_pkcs12_derivation()
|
A D | rsa.c | 1204 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 0 ) ) != 0 ) in mbedtls_rsa_rsaes_oaep_encrypt() 1408 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 0 ) ) != 0 ) in mbedtls_rsa_rsaes_oaep_decrypt() 1668 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 0 ) ) != 0 ) in rsa_rsassa_pss_sign() 2100 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 0 ) ) != 0 ) in mbedtls_rsa_rsassa_pss_verify_ext()
|
A D | constant_time.c | 485 MD_CHK( mbedtls_md_setup( &aux, ctx->md_info, 0 ) ); in mbedtls_ct_hmac()
|
A D | ssl_tls.c | 447 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 1 ) ) != 0 ) in tls1_prf() 501 if( ( ret = mbedtls_md_setup( &md_ctx, md_info, 1 ) ) != 0 ) in tls1_prf() 725 if ( ( ret = mbedtls_md_setup( &md_ctx, md_info, 1 ) ) != 0 ) in tls_prf_generic() 1138 if( ( ret = mbedtls_md_setup( &transform->md_ctx_enc, md_info, 1 ) ) != 0 || in ssl_populate_transform() 1139 ( ret = mbedtls_md_setup( &transform->md_ctx_dec, md_info, 1 ) ) != 0 ) in ssl_populate_transform() 7702 if( ( ret = mbedtls_md_setup( &ctx, md_info, 0 ) ) != 0 ) in mbedtls_ssl_get_key_exchange_md_tls1_2()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | hmac.c | 120 mbed_res = mbedtls_md_setup(&c->md_ctx, md_info, 1); in mbed_hmac_alloc_ctx()
|
A D | hash.c | 125 mbed_res = mbedtls_md_setup(&hc->md_ctx, md_info, 0); in mbed_hash_alloc_ctx()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/ |
A D | ChangeLog | 782 * Fix a memory leak in mbedtls_md_setup() when using HMAC under low memory
|
Completed in 32 milliseconds