EVP_SIGNATURE-HMAC(7ossl)
π EVP_SIGNATURE-HMAC π
okay so bestie, welcome to the 7ossl girlies club β this one's about EVP_SIGNATURE-HMAC, EVP_SIGNATURE-Siphash, EVP_SIGNATURE-Poly1305 and EVP_SIGNATURE-CMAC, aka the legacy EVP_PKEY MAC signature implementations. yes, that's a mouthful, drink some water π
πΈ NAME πΈ
EVP_SIGNATURE-HMAC, EVP_SIGNATURE-Siphash, EVP_SIGNATURE-Poly1305, EVP_SIGNATURE-CMAC β the legacy EVP_PKEY MAC signature implementations. that's the whole squad, no cap π
β¨ DESCRIPTION β¨
okay so here's the tea π« the algorithms described here have legacy support for creating MACs using EVP_DigestSignInit(3) and related functions. and likeβ¦ that is not the preferred way of creating MACs, bestie, i'm gonna be so real with you π instead you should use the newer EVP_MAC_init(3) functions. this whole mechanism is provided for backwards compatibility with older versions of OpenSSL β it's giving vintage, it's giving "we keep it around for the old heads" π
the same signature parameters can be set using EVP_PKEY_CTX_set_params() as can be set via EVP_MAC_CTX_set_params() for the underlying EVP_MAC. go check out EVP_MAC-HMAC(7), EVP_MAC-Siphash(7), EVP_MAC-Poly1305(7) and EVP_MAC-CMAC(7) for the details π
and for the deets about parameters that are supported during the creation of an EVP_PKEY, look at EVP_PKEY-HMAC(7), EVP_PKEY-Siphash(7), EVP_PKEY-Poly1305(7) or EVP_PKEY-CMAC(7). iconique cross-referencing behavior, honestly π
β οΈ reminder bestie: this is the legacy path. it's supported, it's fine, but new code should be living that EVP_MAC_init(3) main character energy π
π¦ SEE ALSO π¦
the whole friend group, in order, no one left behind π«Ά
EVP_MAC_init(3)EVP_DigestSignInit(3)EVP_PKEY-HMAC(7)EVP_PKEY-Siphash(7)EVP_PKEY-Poly1305(7)EVP_PKEY-CMAC(7)EVP_MAC-HMAC(7)EVP_MAC-Siphash(7)EVP_MAC-Poly1305(7)EVP_MAC-CMAC(7)provider-signature(7)
π COPYRIGHT π
Copyright 2020 The OpenSSL Project Authors. All Rights Reserved. π
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>. read the license bestie, it's literally the law π
and that's the page!! mwah π this was OpenSSL 3.5.0, dated 2026-09-25, filed under EVP_SIGNATURE-HMAC(7ossl) β go forth and MAC responsibly, ily βπ§ββοΈ
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms