Home
last modified time | relevance | path

Searched refs:EVP_MAC_update (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/crypto/openssl/providers/implementations/rands/
H A Ddrbg_hmac.c66 || !EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac()
67 || !EVP_MAC_update(ctx, &inbyte, 1) in do_hmac()
68 || !(in1 == NULL || in1len == 0 || EVP_MAC_update(ctx, in1, in1len)) in do_hmac()
69 || !(in2 == NULL || in2len == 0 || EVP_MAC_update(ctx, in2, in2len)) in do_hmac()
70 || !(in3 == NULL || in3len == 0 || EVP_MAC_update(ctx, in3, in3len)) in do_hmac()
76 && EVP_MAC_update(ctx, hmac->V, hmac->blocklen) in do_hmac()
217 || !EVP_MAC_update(ctx, temp, hmac->blocklen)) in drbg_hmac_generate()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dkbkdf.c186 if (mode == FEEDBACK && !EVP_MAC_update(ctx, k_i, k_i_len)) in derive()
189 if (!EVP_MAC_update(ctx, (unsigned char *)&i, 4) in derive()
190 || !EVP_MAC_update(ctx, label, label_len) in derive()
191 || (has_separator && !EVP_MAC_update(ctx, &zero, 1)) in derive()
192 || !EVP_MAC_update(ctx, context, context_len) in derive()
193 || (has_l && !EVP_MAC_update(ctx, (unsigned char *)&l, 4)) in derive()
H A Dtls1_prf.c307 if (seed != NULL && !EVP_MAC_update(ctx_Ai, seed, seed_len)) in tls1_prf_P_hash()
321 if (!EVP_MAC_update(ctx, Ai, Ai_len)) in tls1_prf_P_hash()
329 if (seed != NULL && !EVP_MAC_update(ctx, seed, seed_len)) in tls1_prf_P_hash()
H A Dsskdf.c255 && EVP_MAC_update(ctx, c, sizeof(c)) in SSKDF_mac_kdm()
256 && EVP_MAC_update(ctx, z, z_len) in SSKDF_mac_kdm()
257 && EVP_MAC_update(ctx, info, info_len))) in SSKDF_mac_kdm()
/freebsd/crypto/openssl/test/
H A Dbad_dtls_test.c318 || !EVP_MAC_update(ctx, epoch, 2) in send_record()
319 || !EVP_MAC_update(ctx, seq, 6) in send_record()
320 || !EVP_MAC_update(ctx, &type, 1) in send_record()
321 || !EVP_MAC_update(ctx, ver, 2) /* Version */ in send_record()
322 || !EVP_MAC_update(ctx, lenbytes, 2) /* Length */ in send_record()
323 || !EVP_MAC_update(ctx, enc, len) /* Finally the data itself */ in send_record()
/freebsd/crypto/openssl/doc/life-cycles/
H A Dmac.dot13 initialised -> updated [label="EVP_MAC_update"];
14 updated -> updated [label="EVP_MAC_update"];
/freebsd/crypto/openssl/crypto/modes/
H A Dsiv128.c102 if (!EVP_MAC_update(mac_ctx, in, len - SIV_LEN)) in siv128_do_s2v_p()
106 if (!EVP_MAC_update(mac_ctx, t.byte, SIV_LEN)) in siv128_do_s2v_p()
114 if (!EVP_MAC_update(mac_ctx, t.byte, SIV_LEN)) in siv128_do_s2v_p()
201 || !EVP_MAC_update(mac_ctx, zero, sizeof(zero)) in ossl_siv128_init()
256 || !EVP_MAC_update(mac_ctx, aad, len) in ossl_siv128_aad()
/freebsd/crypto/openssl/doc/man3/
H A DEVP_MAC.pod11 EVP_MAC_init, EVP_MAC_update, EVP_MAC_final, EVP_MAC_finalXOF,
52 int EVP_MAC_update(EVP_MAC_CTX *ctx, const unsigned char *data, size_t datalen);
152 EVP_MAC_init() should be called before EVP_MAC_update() and EVP_MAC_final().
154 EVP_MAC_update() adds I<datalen> bytes from I<data> to the MAC input.
325 When used EVP_MAC_update must be called precisely twice. The first time with
329 B<datalen> parameter to EVP_MAC_update() should be equal to the length of the
335 EVP_MAC_init(), EVP_MAC_update() and EVP_MAC_final() for a full
385 EVP_MAC_init(), EVP_MAC_update(), EVP_MAC_final(), and EVP_MAC_finalXOF()
440 if (!EVP_MAC_update(ctx, buf, read_l))
H A DHMAC.pod79 L<EVP_MAC_init(3)>, L<EVP_MAC_update(3)> and L<EVP_MAC_final(3)>
/freebsd/crypto/openssl/crypto/evp/
H A Dmac_lib.c124 int EVP_MAC_update(EVP_MAC_CTX *ctx, const unsigned char *data, size_t datalen) in EVP_MAC_update() function
285 && EVP_MAC_update(ctx, data, datalen) in EVP_Q_mac()
/freebsd/crypto/openssl/demos/mac/
H A Dgmac.c112 if (!EVP_MAC_update(mctx, data, sizeof(data))) { in main()
H A Dsiphash.c96 if (!EVP_MAC_update(mctx, data, sizeof(data))) { in main()
H A Dcmac-aes256.c109 if (!EVP_MAC_update(mctx, data, sizeof(data))) { in main()
H A Dhmac-sha512.c120 if (!EVP_MAC_update(mctx, data, sizeof(data))) { in main()
H A Dpoly1305.c174 if (!EVP_MAC_update(mctx, test_m, sizeof(test_m))) { in main()
/freebsd/crypto/openssl/doc/man7/
H A Dlife_cycle-mac.pod66 | | EVP_MAC_update | EVP_MAC_init
99 EVP_MAC_update updated updated
136 <tr><th style="border:1px solid" align="left">EVP_MAC_update</th>
H A DEVP_MAC-KMAC.pod130 if (!EVP_MAC_update(ctx, in, in_len))
H A Dprovider-mac.pod48 L<EVP_MAC_update(3)> and L<EVP_MAC_final(3)>.
/freebsd/crypto/openssl/apps/
H A Dmac.c195 if (!EVP_MAC_update(ctx, buf, i)) { in mac_main()
H A Dfipsinstall.c89 if (i < 0 || !EVP_MAC_update(ctx, tmp, i)) in do_mac()
H A Dspeed.c599 || !EVP_MAC_update(mctx, buf, lengths[testnum]) in EVP_MAC_loop()
666 if (!EVP_MAC_update(mctx, buf, lengths[testnum])) in GHASH_loop()
/freebsd/crypto/openssl/providers/implementations/signature/
H A Dmac_legacy_sig.c150 return EVP_MAC_update(pmacctx->macctx, data, datalen); in mac_digest_sign_update()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_hmac.c263 EVP_MAC_update(*ctx, data, data_len); in __hmac_sha1_update()
/freebsd/crypto/openssl/providers/fips/
H A Dself_test.c210 if (!EVP_MAC_update(ctx, buf, bytes_read)) in verify_integrity()
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c1434 if (!EVP_MAC_update(ctx->ctx, data, len)) in crypto_hash_update()
1550 if (EVP_MAC_update(ctx, addr[i], len[i]) != 1) in openssl_hmac_vector()
1829 if (!EVP_MAC_update(ctx, addr[i], len[i])) in omac1_aes_vector()
4799 if (EVP_MAC_update(hctx, (const unsigned char *) "HPKE-v1", 7) != 1 || in hpke_labeled_extract()
4800 EVP_MAC_update(hctx, suite_id, suite_id_len) != 1 || in hpke_labeled_extract()
4801 EVP_MAC_update(hctx, (const unsigned char *) label, in hpke_labeled_extract()
4803 EVP_MAC_update(hctx, ikm, ikm_len) != 1) in hpke_labeled_extract()
4908 if (iter > 0 && EVP_MAC_update(hctx, hash, mdlen) != 1) in hpke_labeled_expand()
4914 if (EVP_MAC_update(hctx, labeled_info, labeled_info_len) != 1 || in hpke_labeled_expand()
4915 EVP_MAC_update(hctx, &iter, sizeof(iter)) != 1) in hpke_labeled_expand()

12