EVP_SIGNATURE-HMAC(7ossl)

πŸ“¦ version 3.5.0, in opensuse-leap 16.0

πŸ’… 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 🫢


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