Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/mbedtls/library/
H A Dhmac_drbg.c77 if ((ret = mbedtls_md_hmac_starts(&ctx->md_ctx, K, md_len)) != 0) { in mbedtls_hmac_drbg_update()
116 if ((ret = mbedtls_md_hmac_starts(&ctx->md_ctx, ctx->V, in mbedtls_hmac_drbg_seed_buf()
248 if ((ret = mbedtls_md_hmac_starts(&ctx->md_ctx, ctx->V, md_size)) != 0) { in mbedtls_hmac_drbg_seed()
H A Dhkdf.c121 ret = mbedtls_md_hmac_starts(&ctx, prk, prk_len); in mbedtls_hkdf_expand()
H A Dmd.c969 int mbedtls_md_hmac_starts(mbedtls_md_context_t *ctx, const unsigned char *key, size_t keylen) in mbedtls_md_hmac_starts() function
1090 if ((ret = mbedtls_md_hmac_starts(&ctx, key, keylen)) != 0) { in mbedtls_md_hmac()
H A Dssl_cookie.c143 ret = mbedtls_md_hmac_starts(&ctx->hmac_ctx, key, sizeof(key)); in mbedtls_ssl_cookie_setup()
H A Dpkcs5.c288 if ((ret = mbedtls_md_hmac_starts(ctx, password, plen)) != 0) { in pkcs5_pbkdf2_hmac()
H A Dssl_tls.c6191 ret = mbedtls_md_hmac_starts(&md_ctx, secret, slen); in tls_prf_generic()
8552 ret = mbedtls_md_hmac_starts(&transform->md_ctx_enc, mac_enc, mac_key_len); in ssl_tls12_populate_transform()
8556 ret = mbedtls_md_hmac_starts(&transform->md_ctx_dec, mac_dec, mac_key_len); in ssl_tls12_populate_transform()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dhmac_drbg.c77 if ((ret = mbedtls_md_hmac_starts(&ctx->md_ctx, K, md_len)) != 0) { in mbedtls_hmac_drbg_update()
116 if ((ret = mbedtls_md_hmac_starts(&ctx->md_ctx, ctx->V, in mbedtls_hmac_drbg_seed_buf()
248 if ((ret = mbedtls_md_hmac_starts(&ctx->md_ctx, ctx->V, md_size)) != 0) { in mbedtls_hmac_drbg_seed()
H A Dhkdf.c121 ret = mbedtls_md_hmac_starts(&ctx, prk, prk_len); in mbedtls_hkdf_expand()
H A Dmd.c969 int mbedtls_md_hmac_starts(mbedtls_md_context_t *ctx, const unsigned char *key, size_t keylen) in mbedtls_md_hmac_starts() function
1090 if ((ret = mbedtls_md_hmac_starts(&ctx, key, keylen)) != 0) { in mbedtls_md_hmac()
H A Dssl_cookie.c143 ret = mbedtls_md_hmac_starts(&ctx->hmac_ctx, key, sizeof(key)); in mbedtls_ssl_cookie_setup()
H A Dpkcs5.c292 if ((ret = mbedtls_md_hmac_starts(ctx, password, plen)) != 0) { in pkcs5_pbkdf2_hmac()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A 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));
H A Dtest_suite_md.function129 TEST_EQUAL(mbedtls_md_hmac_starts(NULL, buf, 1),
131 TEST_EQUAL(mbedtls_md_hmac_starts(&ctx, buf, 1),
381 TEST_EQUAL(0, mbedtls_md_hmac_starts(&ctx, key_str->x, key_str->len));
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_constant_time_hmac.function74 TEST_EQUAL(0, mbedtls_md_hmac_starts(&ctx, ref_out, out_len));
75 TEST_EQUAL(0, mbedtls_md_hmac_starts(&ref_ctx, ref_out, out_len));
H A Dtest_suite_md.function129 TEST_EQUAL(mbedtls_md_hmac_starts(NULL, buf, 1),
131 TEST_EQUAL(mbedtls_md_hmac_starts(&ctx, buf, 1),
381 TEST_EQUAL(0, mbedtls_md_hmac_starts(&ctx, key_str->x, key_str->len));
/aosp_15_r20/external/mbedtls/programs/aes/
H A Dcrypt_and_hash.c318 if (mbedtls_md_hmac_starts(&md_ctx, digest, 32) != 0) { in main()
472 if (mbedtls_md_hmac_starts(&md_ctx, digest, 32) != 0) { in main()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/aes/
H A Dcrypt_and_hash.c322 if (mbedtls_md_hmac_starts(&md_ctx, digest, 32) != 0) { in main()
476 if (mbedtls_md_hmac_starts(&md_ctx, digest, 32) != 0) { in main()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/hash/
H A Dmd_hmac_demo.c104 CHK(mbedtls_md_hmac_starts(&ctx, key_bytes, sizeof(key_bytes))); in hmac_demo()
/aosp_15_r20/external/mbedtls/programs/hash/
H A Dmd_hmac_demo.c104 CHK(mbedtls_md_hmac_starts(&ctx, key_bytes, sizeof(key_bytes))); in hmac_demo()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A Dmd.h430 int mbedtls_md_hmac_starts(mbedtls_md_context_t *ctx, const unsigned char *key,
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dmd.h544 int mbedtls_md_hmac_starts(mbedtls_md_context_t *ctx, const unsigned char *key,
/aosp_15_r20/external/mbedtls/tests/src/test_helpers/
H A Dssl_helpers.c1253 CHK(mbedtls_md_hmac_starts(&t_in->md_ctx_enc, in mbedtls_test_ssl_build_transforms()
1255 CHK(mbedtls_md_hmac_starts(&t_in->md_ctx_dec, in mbedtls_test_ssl_build_transforms()
1257 CHK(mbedtls_md_hmac_starts(&t_out->md_ctx_enc, in mbedtls_test_ssl_build_transforms()
1259 CHK(mbedtls_md_hmac_starts(&t_out->md_ctx_dec, in mbedtls_test_ssl_build_transforms()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/src/test_helpers/
H A Dssl_helpers.c1408 CHK(mbedtls_md_hmac_starts(&t_in->md_ctx_enc, in mbedtls_test_ssl_build_transforms()
1410 CHK(mbedtls_md_hmac_starts(&t_in->md_ctx_dec, in mbedtls_test_ssl_build_transforms()
1412 CHK(mbedtls_md_hmac_starts(&t_out->md_ctx_enc, in mbedtls_test_ssl_build_transforms()
1414 CHK(mbedtls_md_hmac_starts(&t_out->md_ctx_dec, in mbedtls_test_ssl_build_transforms()
/aosp_15_r20/external/libwebsockets/lib/tls/mbedtls/
H A Dlws-genhash.c286 if (mbedtls_md_hmac_starts(&ctx->ctx, key, key_len)) { in lws_genhmac_init()
/aosp_15_r20/external/openthread/src/core/crypto/
H A Dcrypto_platform.cpp196 …VerifyOrExit((mbedtls_md_hmac_starts(context, key.GetBytes(), key.GetLength()) == 0), error = kErr… in otPlatCryptoHmacSha256Start()

12