EVP_SIGNATURE-HMAC(7ossl)

πŸ“¦
version 15.1 Β· 3 versions
, in freebsd 15.1

πŸ’– NAME πŸ’–

okay so bestie, welcome to the EVP_SIGNATURE-HMAC(7ossl) page πŸ’…. this one covers EVP_SIGNATURE-HMAC, EVP_SIGNATURE-Siphash, EVP_SIGNATURE-Poly1305, and EVP_SIGNATURE-CMAC β€” the legacy EVP_PKEY MAC signature implementations. yes, the whole squad is here 🫢.


✨ DESCRIPTION ✨

so the algorithms described here have legacy support for creating MACs using EVP_DigestSignInit(3) and related functions. and like, this is not the preferred way of creating MACs. instead you should use the newer EVP_MAC_init(3) functions. this mechanism is provided for backwards compatibility with older versions of OpenSSL. periodt.

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. see EVP_MAC-HMAC(7), EVP_MAC-Siphash(7), EVP_MAC-Poly1305(7) and EVP_MAC-CMAC(7) for details.

also, see EVP_PKEY-HMAC(7), EVP_PKEY-Siphash(7), EVP_PKEY-Poly1305(7) or EVP_PKEY-CMAC(7) for details about parameters that are supported during the creation of an EVP_PKEY.

lowkey this is the legacy route, not the main-character route β€” if you can, use EVP_MAC_init(3) instead πŸ’–

🌈 SEE ALSO 🌈


Copyright 2020-2026 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>.

mwah πŸ’‹ that's a wrap β€” OpenSSL 3.5.6, dated 2026-04-07, page EVP_SIGNATURE-HMAC(7ossl).

πŸ“¦ where this page comes from