Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/demos/mac/
H A Dcmac-aes256.c115 if (!EVP_MAC_final(mctx, NULL, &out_len, 0)) { in main()
125 if (!EVP_MAC_final(mctx, out, &out_len, out_len)) { in main()
H A Dhmac-sha512.c126 if (!EVP_MAC_final(mctx, NULL, &out_len, 0)) { in main()
136 if (!EVP_MAC_final(mctx, out, &out_len, out_len)) { in main()
H A Dgmac.c118 if (!EVP_MAC_final(mctx, out, &out_len, sizeof(out))) { in main()
H A Dsiphash.c102 if (!EVP_MAC_final(mctx, out, &out_len, sizeof(out))) { in main()
H A Dpoly1305.c180 if (!EVP_MAC_final(mctx, out, &out_len, sizeof(out))) { in main()
/freebsd/crypto/openssl/providers/implementations/rands/
H A Ddrbg_hmac.c71 || !EVP_MAC_final(ctx, hmac->K, NULL, sizeof(hmac->K))) in do_hmac()
77 && EVP_MAC_final(ctx, hmac->V, NULL, sizeof(hmac->V)); in do_hmac()
221 if (!EVP_MAC_final(ctx, out, NULL, outlen)) in drbg_hmac_generate()
225 if (!EVP_MAC_final(ctx, hmac->V, NULL, sizeof(hmac->V))) in drbg_hmac_generate()
/freebsd/crypto/openssl/crypto/evp/
H A Dmac_lib.c174 int EVP_MAC_final(EVP_MAC_CTX *ctx, in EVP_MAC_final() function
286 && EVP_MAC_final(ctx, out, &len, outsize)) { in EVP_Q_mac()
289 if (out != NULL && !EVP_MAC_final(ctx, out, NULL, len)) { in EVP_Q_mac()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dtls1_prf.c312 if (!EVP_MAC_final(ctx_Ai, Ai, &Ai_len, sizeof(Ai))) in tls1_prf_P_hash()
333 if (!EVP_MAC_final(ctx, Ai, &Ai_len, sizeof(Ai))) in tls1_prf_P_hash()
338 if (!EVP_MAC_final(ctx, out, NULL, olen)) in tls1_prf_P_hash()
H A Dsskdf.c260 if (!EVP_MAC_final(ctx, out, NULL, len)) in SSKDF_mac_kdm()
267 if (!EVP_MAC_final(ctx, mac, NULL, out_len)) in SSKDF_mac_kdm()
H A Dkbkdf.c194 || !EVP_MAC_final(ctx, k_i, NULL, h)) in derive()
/freebsd/crypto/openssl/doc/man7/
H A DEVP_MAC-KMAC.pod71 The "xof" and "size" parameters can be set at any time before EVP_MAC_final().
120 * before EVP_MAC_final().
132 if (!EVP_MAC_final(ctx, out, &l, out_len))
H A Dlife_cycle-mac.pod72 | | EVP_MAC_final | EVP_MAC_finalXOF
100 EVP_MAC_final finaled
143 <tr><th style="border:1px solid" align="left">EVP_MAC_final</th>
H A Dprovider-mac.pod48 L<EVP_MAC_update(3)> and L<EVP_MAC_final(3)>.
127 L<EVP_MAC_final(3)>.
/freebsd/crypto/openssl/doc/man3/
H A DEVP_MAC.pod11 EVP_MAC_init, EVP_MAC_update, EVP_MAC_final, EVP_MAC_finalXOF,
53 int EVP_MAC_final(EVP_MAC_CTX *ctx,
149 re-initalization (i.e. calling EVP_MAC_init() on an EVP_MAC after EVP_MAC_final()
152 EVP_MAC_init() should be called before EVP_MAC_update() and EVP_MAC_final().
156 EVP_MAC_final() does the final computation and stores the result in
313 EVP_MAC_final() should produce.
335 EVP_MAC_init(), EVP_MAC_update() and EVP_MAC_final() for a full
351 after EVP_MAC_final() has been called cannot reset its cipher state to what it
385 EVP_MAC_init(), EVP_MAC_update(), EVP_MAC_final(), and EVP_MAC_finalXOF()
444 if (!EVP_MAC_final(ctx, buf, &final_l, sizeof(buf)))
H A DHMAC.pod79 L<EVP_MAC_init(3)>, L<EVP_MAC_update(3)> and L<EVP_MAC_final(3)>
/freebsd/crypto/openssl/apps/
H A Dmac.c201 if (!EVP_MAC_final(ctx, NULL, &len, 0)) { in mac_main()
210 if (!EVP_MAC_final(ctx, buf, &len, BUFSIZE)) { in mac_main()
H A Dfipsinstall.c93 if (!EVP_MAC_final(ctx, out, out_len, outsz)) in do_mac()
/freebsd/crypto/openssl/crypto/modes/
H A Dsiv128.c117 if (!EVP_MAC_final(mac_ctx, out->byte, &out_len, sizeof(out->byte)) in siv128_do_s2v_p()
202 || !EVP_MAC_final(mac_ctx, ctx->d.byte, &out_len, in ossl_siv128_init()
257 || !EVP_MAC_final(mac_ctx, mac_out.byte, &out_len, in ossl_siv128_aad()
/freebsd/crypto/openssl/doc/life-cycles/
H A Dmac.dot15 updated -> finaled [label="EVP_MAC_final"];
/freebsd/crypto/openssl/providers/implementations/signature/
H A Dmac_legacy_sig.c161 return EVP_MAC_final(pmacctx->macctx, mac, maclen, macsize); in mac_digest_sign_final()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_hmac.c279 EVP_MAC_final(*ctx, out, &len, *out_len); in __hmac_sha1_final()
/freebsd/crypto/openssl/providers/fips/
H A Dself_test.c213 if (!EVP_MAC_final(ctx, out, &out_len, sizeof(out))) in verify_integrity()
/freebsd/crypto/openssl/test/
H A Dbad_dtls_test.c324 || !EVP_MAC_final(ctx, enc + len, NULL, SHA_DIGEST_LENGTH)) in send_record()
H A Devp_test.c1598 if (!EVP_MAC_final(ctx, NULL, &got_len, 0)) { in mac_test_run_mac()
1606 if (!EVP_MAC_final(ctx, got, &got_len, got_len) in mac_test_run_mac()
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c1459 res = EVP_MAC_final(ctx->ctx, NULL, &mdlen, 0); in crypto_hash_finish()
1465 res = EVP_MAC_final(ctx->ctx, mac, &mdlen, mdlen); in crypto_hash_finish()
1554 res = EVP_MAC_final(ctx, mac, &mlen, mdlen); in openssl_hmac_vector()
1832 if (EVP_MAC_final(ctx, mac, &outlen, 16) != 1 || outlen != 16) in omac1_aes_vector()
4806 res = EVP_MAC_final(hctx, prk, &mlen, mdlen); in hpke_labeled_extract()
4918 if (EVP_MAC_final(hctx, hash, &mdlen, mdlen) != 1) in hpke_labeled_expand()

12