Home
last modified time | relevance | path

Searched refs:mbedtls_md_hmac_starts (Results 1 – 12 of 12) sorted by relevance

/mbedtls-3.4.0/library/
Dhmac_drbg.c86 if( ( ret = mbedtls_md_hmac_starts( &ctx->md_ctx, K, md_len ) ) != 0 ) in mbedtls_hmac_drbg_update()
121 if( ( ret = mbedtls_md_hmac_starts( &ctx->md_ctx, ctx->V, in mbedtls_hmac_drbg_seed_buf()
253 if( ( ret = mbedtls_md_hmac_starts( &ctx->md_ctx, ctx->V, md_size ) ) != 0 ) in mbedtls_hmac_drbg_seed()
Dhkdf.c144 ret = mbedtls_md_hmac_starts( &ctx, prk, prk_len ); in mbedtls_hkdf_expand()
Dmd.c631 int mbedtls_md_hmac_starts( mbedtls_md_context_t *ctx, const unsigned char *key, size_t keylen ) in mbedtls_md_hmac_starts() function
741 if( ( ret = mbedtls_md_hmac_starts( &ctx, key, keylen ) ) != 0 ) in mbedtls_md_hmac()
Dssl_cookie.c146 ret = mbedtls_md_hmac_starts( &ctx->hmac_ctx, key, sizeof( key ) ); in mbedtls_ssl_cookie_setup()
Dpkcs5.c231 if( ( ret = mbedtls_md_hmac_starts( ctx, password, plen ) ) != 0 ) in pkcs5_pbkdf2_hmac()
Dssl_tls.c5967 ret = mbedtls_md_hmac_starts( &md_ctx, secret, slen ); in tls_prf_generic()
8442 ret = mbedtls_md_hmac_starts( &transform->md_ctx_enc, mac_enc, mac_key_len ); in ssl_tls12_populate_transform()
8445 ret = mbedtls_md_hmac_starts( &transform->md_ctx_dec, mac_dec, mac_key_len ); in ssl_tls12_populate_transform()
/mbedtls-3.4.0/tests/suites/
Dtest_suite_constant_time_hmac.function75 TEST_EQUAL( 0, mbedtls_md_hmac_starts( &ctx, ref_out, out_len ) );
76 TEST_EQUAL( 0, mbedtls_md_hmac_starts( &ref_ctx, ref_out, out_len ) );
Dtest_suite_md.function79 TEST_ASSERT( mbedtls_md_hmac_starts( NULL, buf, 1 )
81 TEST_ASSERT( mbedtls_md_hmac_starts( &ctx, buf, 1 )
336 TEST_ASSERT ( 0 == mbedtls_md_hmac_starts( &ctx, key_str->x, key_str->len ) );
Dtest_suite_ssl.function1519 CHK( mbedtls_md_hmac_starts( &t_in->md_ctx_enc,
1521 CHK( mbedtls_md_hmac_starts( &t_in->md_ctx_dec,
1523 CHK( mbedtls_md_hmac_starts( &t_out->md_ctx_enc,
1525 CHK( mbedtls_md_hmac_starts( &t_out->md_ctx_dec,
/mbedtls-3.4.0/programs/hash/
Dmd_hmac_demo.c115 CHK( mbedtls_md_hmac_starts( &ctx, key_bytes, sizeof( key_bytes ) ) ); in hmac_demo()
/mbedtls-3.4.0/include/mbedtls/
Dmd.h377 int mbedtls_md_hmac_starts( mbedtls_md_context_t *ctx, const unsigned char *key,
/mbedtls-3.4.0/programs/aes/
Dcrypt_and_hash.c357 if( mbedtls_md_hmac_starts( &md_ctx, digest, 32 ) != 0 ) in main()
532 if( mbedtls_md_hmac_starts( &md_ctx, digest, 32 ) != 0 ) in main()