Home
last modified time | relevance | path

Searched refs:mbedtls_md_hmac_update (Results 1 - 14 of 14) sorted by relevance

/third_party/mbedtls/programs/hash/
H A Dmd_hmac_demo.c119 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 Dhkdf.c138 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 Dhmac_drbg.c58 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 Dpkcs5.c298 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 Dssl_cookie.c169 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 Dmd.c1017 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 Dssl_msg.c1076 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 Dssl_tls.c6872 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 Dcrypt_and_hash.c344 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 Dmd.h421 * 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 Dlws-genhash.c302 if (mbedtls_md_hmac_update(&ctx->ctx, in, len)) in lws_genhmac_update()
/third_party/lwip/src/apps/snmp/
H A Dsnmpv3_mbedtls.c88 if (mbedtls_md_hmac_update(&ctx, &byte, 1) != 0) { in snmpv3_auth()
/third_party/mbedtls/tests/src/test_helpers/
H A Dssl_helpers.c1647 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 Dcoap_mbedtls.c3026 C(mbedtls_md_hmac_update(&ctx, (const unsigned char *)data->s, data->length));

Completed in 31 milliseconds