/aosp_15_r20/external/mbedtls/library/ |
H A D | hmac_drbg.c | 77 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 D | hkdf.c | 121 ret = mbedtls_md_hmac_starts(&ctx, prk, prk_len); in mbedtls_hkdf_expand()
|
H A D | md.c | 969 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 D | ssl_cookie.c | 143 ret = mbedtls_md_hmac_starts(&ctx->hmac_ctx, key, sizeof(key)); in mbedtls_ssl_cookie_setup()
|
H A D | pkcs5.c | 288 if ((ret = mbedtls_md_hmac_starts(ctx, password, plen)) != 0) { in pkcs5_pbkdf2_hmac()
|
H A D | ssl_tls.c | 6191 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 D | hmac_drbg.c | 77 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 D | hkdf.c | 121 ret = mbedtls_md_hmac_starts(&ctx, prk, prk_len); in mbedtls_hkdf_expand()
|
H A D | md.c | 969 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 D | ssl_cookie.c | 143 ret = mbedtls_md_hmac_starts(&ctx->hmac_ctx, key, sizeof(key)); in mbedtls_ssl_cookie_setup()
|
H A D | pkcs5.c | 292 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 D | test_suite_constant_time_hmac.function | 75 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 D | test_suite_md.function | 129 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 D | test_suite_constant_time_hmac.function | 74 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 D | test_suite_md.function | 129 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 D | crypt_and_hash.c | 318 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 D | crypt_and_hash.c | 322 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 D | md_hmac_demo.c | 104 CHK(mbedtls_md_hmac_starts(&ctx, key_bytes, sizeof(key_bytes))); in hmac_demo()
|
/aosp_15_r20/external/mbedtls/programs/hash/ |
H A D | md_hmac_demo.c | 104 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 D | md.h | 430 int mbedtls_md_hmac_starts(mbedtls_md_context_t *ctx, const unsigned char *key,
|
/aosp_15_r20/external/mbedtls/include/mbedtls/ |
H A D | md.h | 544 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 D | ssl_helpers.c | 1253 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 D | ssl_helpers.c | 1408 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 D | lws-genhash.c | 286 if (mbedtls_md_hmac_starts(&ctx->ctx, key, key_len)) { in lws_genhmac_init()
|
/aosp_15_r20/external/openthread/src/core/crypto/ |
H A D | crypto_platform.cpp | 196 …VerifyOrExit((mbedtls_md_hmac_starts(context, key.GetBytes(), key.GetLength()) == 0), error = kErr… in otPlatCryptoHmacSha256Start()
|