Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dhmac_drbg.c89 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.c133 ret = mbedtls_md_hmac_starts(&ctx, prk, prk_len); in mbedtls_hkdf_expand()
Dmd.c822 int mbedtls_md_hmac_starts(mbedtls_md_context_t *ctx, const unsigned char *key, size_t keylen) in mbedtls_md_hmac_starts() function
943 if ((ret = mbedtls_md_hmac_starts(&ctx, key, keylen)) != 0) { in mbedtls_md_hmac()
Dssl_cookie.c150 ret = mbedtls_md_hmac_starts(&ctx->hmac_ctx, key, sizeof(key)); in mbedtls_ssl_cookie_setup()
Dpkcs5.c249 if ((ret = mbedtls_md_hmac_starts(ctx, password, plen)) != 0) { in pkcs5_pbkdf2_hmac()
Dssl_tls.c6217 ret = mbedtls_md_hmac_starts(&md_ctx, secret, slen); in tls_prf_generic()
8662 ret = mbedtls_md_hmac_starts(&transform->md_ctx_enc, mac_enc, mac_key_len); in ssl_tls12_populate_transform()
8666 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_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.function90 TEST_EQUAL(mbedtls_md_hmac_starts(NULL, buf, 1),
92 TEST_EQUAL(mbedtls_md_hmac_starts(&ctx, buf, 1),
342 TEST_EQUAL(0, mbedtls_md_hmac_starts(&ctx, key_str->x, key_str->len));
/third_party/mbedtls/programs/hash/
Dmd_hmac_demo.c116 CHK(mbedtls_md_hmac_starts(&ctx, key_bytes, sizeof(key_bytes))); in hmac_demo()
/third_party/mbedtls/programs/aes/
Dcrypt_and_hash.c324 if (mbedtls_md_hmac_starts(&md_ctx, digest, 32) != 0) { in main()
475 if (mbedtls_md_hmac_starts(&md_ctx, digest, 32) != 0) { in main()
/third_party/mbedtls/include/mbedtls/
Dmd.h496 int mbedtls_md_hmac_starts(mbedtls_md_context_t *ctx, const unsigned char *key,
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genhash.c286 if (mbedtls_md_hmac_starts(&ctx->ctx, key, key_len)) { in lws_genhmac_init()
/third_party/lwip/src/apps/snmp/
Dsnmpv3_mbedtls.c77 if (mbedtls_md_hmac_starts(&ctx, key, key_len) != 0) { in snmpv3_auth()
/third_party/mbedtls/tests/src/test_helpers/
Dssl_helpers.c1235 CHK(mbedtls_md_hmac_starts(&t_in->md_ctx_enc, in mbedtls_test_ssl_build_transforms()
1237 CHK(mbedtls_md_hmac_starts(&t_in->md_ctx_dec, in mbedtls_test_ssl_build_transforms()
1239 CHK(mbedtls_md_hmac_starts(&t_out->md_ctx_enc, in mbedtls_test_ssl_build_transforms()
1241 CHK(mbedtls_md_hmac_starts(&t_out->md_ctx_dec, in mbedtls_test_ssl_build_transforms()
/third_party/libcoap/src/
Dcoap_mbedtls.c3025 C(mbedtls_md_hmac_starts(&ctx, key->s, key->length));