Home
last modified time | relevance | path

Searched refs:br_hmac_update (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/bearssl/src/rand/
H A Dhmac_drbg.c61 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_generate()
80 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_generate()
82 br_hmac_update(&hc, &x, 1); in br_hmac_drbg_generate()
86 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_generate()
108 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_update()
110 br_hmac_update(&hc, &x, 1); in br_hmac_drbg_update()
111 br_hmac_update(&hc, seed, len); in br_hmac_drbg_update()
119 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_update()
133 br_hmac_update(&hc, ctx->V, hlen); in br_hmac_drbg_update()
135 br_hmac_update(&hc, &x, 1); in br_hmac_drbg_update()
[all …]
/freebsd/contrib/bearssl/src/ssl/
H A Dprf.c48 br_hmac_update(&hc, label, label_len); in br_tls_phash()
50 br_hmac_update(&hc, seed[u].data, seed[u].len); in br_tls_phash()
55 br_hmac_update(&hc, a, hlen); in br_tls_phash()
56 br_hmac_update(&hc, label, label_len); in br_tls_phash()
58 br_hmac_update(&hc, seed[u].data, seed[u].len); in br_tls_phash()
70 br_hmac_update(&hc, a, hlen); in br_tls_phash()
H A Dssl_rec_cbc.c205 br_hmac_update(&hc, tmp2, 13); in cbc_decrypt()
344 br_hmac_update(&hc, tmp, 8); in cbc_encrypt()
385 br_hmac_update(&hc, tmp, 13); in cbc_encrypt()
386 br_hmac_update(&hc, buf, len); in cbc_encrypt()
H A Dssl_lru.c135 br_hmac_update(&hc, src, SESSION_ID_LEN); in GETSET()
/freebsd/contrib/bearssl/src/kdf/
H A Dhkdf.c51 br_hmac_update(&hc->u.hmac_ctx, ikm, ikm_len); in br_hkdf_inject()
89 br_hmac_update(&hmac_ctx, hc->buf, hc->dig_len); in br_hkdf_produce()
91 br_hmac_update(&hmac_ctx, info, info_len); in br_hkdf_produce()
92 br_hmac_update(&hmac_ctx, &x, 1); in br_hkdf_produce()
/freebsd/contrib/bearssl/inc/
H A Dbearssl_hmac.h183 void br_hmac_update(br_hmac_context *ctx, const void *data, size_t len);
/freebsd/contrib/bearssl/src/mac/
H A Dhmac.c98 br_hmac_update(br_hmac_context *ctx, const void *data, size_t len) in br_hmac_update() function
/freebsd/contrib/bearssl/test/
H A Dtest_crypto.c532 br_hmac_update(&ctx, data, data_len); in do_KAT_HMAC_bin_bin()
538 br_hmac_update(&ctx, (const unsigned char *)data + u, 1); in do_KAT_HMAC_bin_bin()
545 br_hmac_update(&ctx, data, u); in do_KAT_HMAC_bin_bin()
547 br_hmac_update(&ctx, in do_KAT_HMAC_bin_bin()
606 br_hmac_update(&hc1, data, u + w); in test_HMAC_CT()
609 br_hmac_update(&hc2, data, u); in test_HMAC_CT()