/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/hash/ |
H A D | md_hmac_demo.c | 107 CHK(mbedtls_md_hmac_update(&ctx, msg1_part1, sizeof(msg1_part1))); in hmac_demo() 108 CHK(mbedtls_md_hmac_update(&ctx, msg1_part2, sizeof(msg1_part2))); in hmac_demo() 114 CHK(mbedtls_md_hmac_update(&ctx, msg2_part1, sizeof(msg2_part1))); in hmac_demo() 115 CHK(mbedtls_md_hmac_update(&ctx, msg2_part2, sizeof(msg2_part2))); in hmac_demo()
|
/aosp_15_r20/external/mbedtls/programs/hash/ |
H A D | md_hmac_demo.c | 107 CHK(mbedtls_md_hmac_update(&ctx, msg1_part1, sizeof(msg1_part1))); in hmac_demo() 108 CHK(mbedtls_md_hmac_update(&ctx, msg1_part2, sizeof(msg1_part2))); in hmac_demo() 114 CHK(mbedtls_md_hmac_update(&ctx, msg2_part1, sizeof(msg2_part1))); in hmac_demo() 115 CHK(mbedtls_md_hmac_update(&ctx, msg2_part2, sizeof(msg2_part2))); in hmac_demo()
|
/aosp_15_r20/external/mbedtls/library/ |
H A D | hmac_drbg.c | 58 if ((ret = mbedtls_md_hmac_update(&ctx->md_ctx, in mbedtls_hmac_drbg_update() 62 if ((ret = mbedtls_md_hmac_update(&ctx->md_ctx, in mbedtls_hmac_drbg_update() 67 if ((ret = mbedtls_md_hmac_update(&ctx->md_ctx, in mbedtls_hmac_drbg_update() 80 if ((ret = mbedtls_md_hmac_update(&ctx->md_ctx, in mbedtls_hmac_drbg_update() 352 if ((ret = mbedtls_md_hmac_update(&ctx->md_ctx, in mbedtls_hmac_drbg_random_with_add()
|
H A D | hkdf.c | 126 ret = mbedtls_md_hmac_update(&ctx, t, t_len); in mbedtls_hkdf_expand() 131 ret = mbedtls_md_hmac_update(&ctx, info, info_len); in mbedtls_hkdf_expand() 138 ret = mbedtls_md_hmac_update(&ctx, &c, 1); in mbedtls_hkdf_expand()
|
H A D | pkcs5.c | 294 if ((ret = mbedtls_md_hmac_update(ctx, salt, slen)) != 0) { in pkcs5_pbkdf2_hmac() 298 if ((ret = mbedtls_md_hmac_update(ctx, counter, 4)) != 0) { in pkcs5_pbkdf2_hmac() 315 if ((ret = mbedtls_md_hmac_update(ctx, md1, md_size)) != 0) { in pkcs5_pbkdf2_hmac()
|
H A D | ssl_cookie.c | 169 mbedtls_md_hmac_update(hmac_ctx, time, 4) != 0 || in ssl_cookie_hmac() 170 mbedtls_md_hmac_update(hmac_ctx, cli_id, cli_id_len) != 0 || in ssl_cookie_hmac()
|
H A D | md.c | 1017 int mbedtls_md_hmac_update(mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen) in mbedtls_md_hmac_update() function 1093 if ((ret = mbedtls_md_hmac_update(&ctx, input, ilen)) != 0) { in mbedtls_md_hmac()
|
H A D | ssl_msg.c | 1078 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, add_data, in mbedtls_ssl_encrypt_buf() 1083 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, data, rec->data_len); in mbedtls_ssl_encrypt_buf() 1424 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, add_data, in mbedtls_ssl_encrypt_buf() 1429 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, in mbedtls_ssl_encrypt_buf() 1775 ret = mbedtls_md_hmac_update(&transform->md_ctx_dec, add_data, in mbedtls_ssl_decrypt_buf() 1780 ret = mbedtls_md_hmac_update(&transform->md_ctx_dec, in mbedtls_ssl_decrypt_buf()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H A D | hmac_drbg.c | 58 if ((ret = mbedtls_md_hmac_update(&ctx->md_ctx, in mbedtls_hmac_drbg_update() 62 if ((ret = mbedtls_md_hmac_update(&ctx->md_ctx, in mbedtls_hmac_drbg_update() 67 if ((ret = mbedtls_md_hmac_update(&ctx->md_ctx, in mbedtls_hmac_drbg_update() 80 if ((ret = mbedtls_md_hmac_update(&ctx->md_ctx, in mbedtls_hmac_drbg_update() 352 if ((ret = mbedtls_md_hmac_update(&ctx->md_ctx, in mbedtls_hmac_drbg_random_with_add()
|
H A D | hkdf.c | 126 ret = mbedtls_md_hmac_update(&ctx, t, t_len); in mbedtls_hkdf_expand() 131 ret = mbedtls_md_hmac_update(&ctx, info, info_len); in mbedtls_hkdf_expand() 138 ret = mbedtls_md_hmac_update(&ctx, &c, 1); in mbedtls_hkdf_expand()
|
H A D | pkcs5.c | 298 if ((ret = mbedtls_md_hmac_update(ctx, salt, slen)) != 0) { in pkcs5_pbkdf2_hmac() 302 if ((ret = mbedtls_md_hmac_update(ctx, counter, 4)) != 0) { in pkcs5_pbkdf2_hmac() 319 if ((ret = mbedtls_md_hmac_update(ctx, md1, md_size)) != 0) { in pkcs5_pbkdf2_hmac()
|
H A D | ssl_cookie.c | 169 mbedtls_md_hmac_update(hmac_ctx, time, 4) != 0 || in ssl_cookie_hmac() 170 mbedtls_md_hmac_update(hmac_ctx, cli_id, cli_id_len) != 0 || in ssl_cookie_hmac()
|
H A D | md.c | 1017 int mbedtls_md_hmac_update(mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen) in mbedtls_md_hmac_update() function 1093 if ((ret = mbedtls_md_hmac_update(&ctx, input, ilen)) != 0) { in mbedtls_md_hmac()
|
H A D | ssl_msg.c | 1076 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, add_data, in mbedtls_ssl_encrypt_buf() 1081 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, data, rec->data_len); in mbedtls_ssl_encrypt_buf() 1420 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, add_data, in mbedtls_ssl_encrypt_buf() 1425 ret = mbedtls_md_hmac_update(&transform->md_ctx_enc, in mbedtls_ssl_encrypt_buf() 1770 ret = mbedtls_md_hmac_update(&transform->md_ctx_dec, add_data, in mbedtls_ssl_decrypt_buf() 1775 ret = mbedtls_md_hmac_update(&transform->md_ctx_dec, in mbedtls_ssl_decrypt_buf()
|
/aosp_15_r20/external/mbedtls/tests/suites/ |
H A D | test_suite_md.function | 134 TEST_EQUAL(mbedtls_md_hmac_update(NULL, buf, 1), 136 TEST_EQUAL(mbedtls_md_hmac_update(&ctx, buf, 1), 383 TEST_EQUAL(0, mbedtls_md_hmac_update(&ctx, src_str->x, halfway)); 384 TEST_EQUAL(0, mbedtls_md_hmac_update(&ctx, src_str->x + halfway, src_str->len - halfway)); 393 TEST_EQUAL(0, mbedtls_md_hmac_update(&ctx, src_str->x, halfway)); 394 TEST_EQUAL(0, mbedtls_md_hmac_update(&ctx, src_str->x + halfway, src_str->len - halfway));
|
H A D | test_suite_constant_time_hmac.function | 129 TEST_EQUAL(0, mbedtls_md_hmac_update(&ref_ctx, add_data, 131 TEST_EQUAL(0, mbedtls_md_hmac_update(&ref_ctx, data, in_len));
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/ |
H A D | test_suite_md.function | 134 TEST_EQUAL(mbedtls_md_hmac_update(NULL, buf, 1), 136 TEST_EQUAL(mbedtls_md_hmac_update(&ctx, buf, 1), 383 TEST_EQUAL(0, mbedtls_md_hmac_update(&ctx, src_str->x, halfway)); 384 TEST_EQUAL(0, mbedtls_md_hmac_update(&ctx, src_str->x + halfway, src_str->len - halfway)); 393 TEST_EQUAL(0, mbedtls_md_hmac_update(&ctx, src_str->x, halfway)); 394 TEST_EQUAL(0, mbedtls_md_hmac_update(&ctx, src_str->x + halfway, src_str->len - halfway));
|
H A D | test_suite_constant_time_hmac.function | 130 TEST_EQUAL(0, mbedtls_md_hmac_update(&ref_ctx, add_data, 132 TEST_EQUAL(0, mbedtls_md_hmac_update(&ref_ctx, data, in_len));
|
/aosp_15_r20/external/mbedtls/programs/aes/ |
H A D | crypt_and_hash.c | 340 if (mbedtls_md_hmac_update(&md_ctx, output, olen) != 0) { in main() 355 if (mbedtls_md_hmac_update(&md_ctx, output, olen) != 0) { in main() 490 if (mbedtls_md_hmac_update(&md_ctx, buffer, ilen) != 0) { in main()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/aes/ |
H A D | crypt_and_hash.c | 344 if (mbedtls_md_hmac_update(&md_ctx, output, olen) != 0) { in main() 359 if (mbedtls_md_hmac_update(&md_ctx, output, olen) != 0) { in main() 494 if (mbedtls_md_hmac_update(&md_ctx, buffer, ilen) != 0) { in main()
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
H A D | md.h | 453 int mbedtls_md_hmac_update(mbedtls_md_context_t *ctx, const unsigned char *input,
|
/aosp_15_r20/external/mbedtls/include/mbedtls/ |
H A D | md.h | 567 int mbedtls_md_hmac_update(mbedtls_md_context_t *ctx, const unsigned char *input,
|
/aosp_15_r20/external/libwebsockets/lib/tls/mbedtls/ |
H A D | lws-genhash.c | 302 if (mbedtls_md_hmac_update(&ctx->ctx, in, len)) in lws_genhmac_update()
|
/aosp_15_r20/external/mbedtls/tests/src/test_helpers/ |
H A D | ssl_helpers.c | 1493 TEST_EQUAL(0, mbedtls_md_hmac_update(&transform_out->md_ctx_enc, add_data, 13)); in mbedtls_test_ssl_prepare_record_mac() 1494 TEST_EQUAL(0, mbedtls_md_hmac_update(&transform_out->md_ctx_enc, in mbedtls_test_ssl_prepare_record_mac()
|
/aosp_15_r20/external/openthread/src/core/crypto/ |
H A D | crypto_platform.cpp | 211 …VerifyOrExit((mbedtls_md_hmac_update(context, reinterpret_cast<const uint8_t *>(aBuf), aBufLength)… in otPlatCryptoHmacSha256Update()
|