/third_party/mbedtls/programs/hash/ |
H A D | md_hmac_demo.c | 119 CHK(mbedtls_md_hmac_update(&ctx, msg1_part1, sizeof(msg1_part1))); in hmac_demo() 120 CHK(mbedtls_md_hmac_update(&ctx, msg1_part2, sizeof(msg1_part2))); in hmac_demo() 126 CHK(mbedtls_md_hmac_update(&ctx, msg2_part1, sizeof(msg2_part1))); in hmac_demo() 127 CHK(mbedtls_md_hmac_update(&ctx, msg2_part2, sizeof(msg2_part2))); in hmac_demo()
|
/third_party/mbedtls/library/ |
H A D | hkdf.c | 138 ret = mbedtls_md_hmac_update(&ctx, t, t_len); in mbedtls_hkdf_expand() 143 ret = mbedtls_md_hmac_update(&ctx, info, info_len); in mbedtls_hkdf_expand() 150 ret = mbedtls_md_hmac_update(&ctx, &c, 1); in mbedtls_hkdf_expand()
|
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 | 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()
|
H A D | ssl_tls.c | 6872 ret = mbedtls_md_hmac_update(&md_ctx, tmp + md_len, nb); in tls_prf_generic() 6886 ret = mbedtls_md_hmac_update(&md_ctx, tmp, md_len + nb); in tls_prf_generic() 6899 ret = mbedtls_md_hmac_update(&md_ctx, tmp, md_len); in tls_prf_generic()
|
/third_party/mbedtls/programs/aes/ |
H A D | crypt_and_hash.c | 344 if (mbedtls_md_hmac_update(&md_ctx, output, olen) != 0) { in main() 345 mbedtls_fprintf(stderr, "mbedtls_md_hmac_update() returned error\n"); in main() 359 if (mbedtls_md_hmac_update(&md_ctx, output, olen) != 0) { in main() 360 mbedtls_fprintf(stderr, "mbedtls_md_hmac_update() returned error\n"); in main() 494 if (mbedtls_md_hmac_update(&md_ctx, buffer, ilen) != 0) { in main() 495 mbedtls_fprintf(stderr, "mbedtls_md_hmac_update() returned error\n"); in main()
|
/third_party/mbedtls/include/mbedtls/ |
H A D | md.h | 421 * mbedtls_md_hmac_update() to provide the input data, and 457 int mbedtls_md_hmac_update(mbedtls_md_context_t *ctx, const unsigned char *input, 465 * mbedtls_md_hmac_update() to get the HMAC value. Afterwards 486 * Afterwards call mbedtls_md_hmac_update() to pass the new
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
H A D | lws-genhash.c | 302 if (mbedtls_md_hmac_update(&ctx->ctx, in, len)) in lws_genhmac_update()
|
/third_party/lwip/src/apps/snmp/ |
H A D | snmpv3_mbedtls.c | 88 if (mbedtls_md_hmac_update(&ctx, &byte, 1) != 0) { in snmpv3_auth()
|
/third_party/mbedtls/tests/src/test_helpers/ |
H A D | ssl_helpers.c | 1647 TEST_EQUAL(0, mbedtls_md_hmac_update(&transform_out->md_ctx_enc, add_data, 13)); in mbedtls_test_ssl_prepare_record_mac() 1648 TEST_EQUAL(0, mbedtls_md_hmac_update(&transform_out->md_ctx_enc, in mbedtls_test_ssl_prepare_record_mac()
|
/third_party/libcoap/src/ |
H A D | coap_mbedtls.c | 3026 C(mbedtls_md_hmac_update(&ctx, (const unsigned char *)data->s, data->length));
|