Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dhmac_drbg.c93 if( ( ret = mbedtls_md_hmac_starts( &ctx->md_ctx, K, md_len ) ) != 0 ) in mbedtls_hmac_drbg_update()
128 if( ( ret = mbedtls_md_hmac_starts( &ctx->md_ctx, ctx->V, in mbedtls_hmac_drbg_seed_buf()
260 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()
Dssl_cookie.c112 ret = mbedtls_md_hmac_starts( &ctx->hmac_ctx, key, sizeof( key ) ); in mbedtls_ssl_cookie_setup()
Dmd.c625 int mbedtls_md_hmac_starts( mbedtls_md_context_t *ctx, const unsigned char *key, size_t keylen ) in mbedtls_md_hmac_starts() function
735 if( ( ret = mbedtls_md_hmac_starts( &ctx, key, keylen ) ) != 0 ) in mbedtls_md_hmac()
Dpkcs5.c242 if( ( ret = mbedtls_md_hmac_starts( ctx, password, plen ) ) != 0 ) in mbedtls_pkcs5_pbkdf2_hmac()
Dssl_tls.c503 ret = mbedtls_md_hmac_starts( &md_ctx, secret, slen ); in tls_prf_generic()
979 ret = mbedtls_md_hmac_starts( &transform->md_ctx_enc, mac_enc, mac_key_len ); in ssl_tls12_populate_transform()
982 ret = mbedtls_md_hmac_starts( &transform->md_ctx_dec, mac_dec, mac_key_len ); in ssl_tls12_populate_transform()
/third_party/mbedtls/tests/suites/
Dtest_suite_md.function75 TEST_ASSERT( mbedtls_md_hmac_starts( NULL, buf, 1 )
77 TEST_ASSERT( mbedtls_md_hmac_starts( &ctx, buf, 1 )
327 TEST_ASSERT ( 0 == mbedtls_md_hmac_starts( &ctx, key_str->x, key_str->len ) );
Dtest_suite_ssl.function1285 CHK( mbedtls_md_hmac_starts( &t_in->md_ctx_enc,
1287 CHK( mbedtls_md_hmac_starts( &t_in->md_ctx_dec,
1289 CHK( mbedtls_md_hmac_starts( &t_out->md_ctx_enc,
1291 CHK( mbedtls_md_hmac_starts( &t_out->md_ctx_dec,
4686 TEST_EQUAL( 0, mbedtls_md_hmac_starts( &ctx, ref_out, out_len ) );
4687 TEST_EQUAL( 0, mbedtls_md_hmac_starts( &ref_ctx, ref_out, out_len ) );
/third_party/mbedtls/include/mbedtls/
Dmd.h368 int mbedtls_md_hmac_starts( mbedtls_md_context_t *ctx, const unsigned char *key,
/third_party/mbedtls/programs/aes/
Dcrypt_and_hash.c368 if( mbedtls_md_hmac_starts( &md_ctx, digest, 32 ) != 0 ) in main()
543 if( mbedtls_md_hmac_starts( &md_ctx, digest, 32 ) != 0 ) in main()
/third_party/lwip/src/apps/snmp/
Dsnmpv3_mbedtls.c77 if (mbedtls_md_hmac_starts(&ctx, key, key_len) != 0) { in snmpv3_auth()
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genhash.c286 if (mbedtls_md_hmac_starts(&ctx->ctx, key, key_len)) { in lws_genhmac_init()