# man > EVP_SIGNATURE-Siphash(7)

---
type: CommandReference
command: EVP_SIGNATURE-HMAC
mode: man
section: 7SSL
source: man-pages
---

## Quick Reference

- `EVP_DigestSignInit` — legacy way to create MACs using HMAC, Siphash, Poly1305, CMAC (not recommended; use `EVP_MAC_init` instead)
- `EVP_PKEY_CTX_set_params` — set signature parameters for these algorithms (same as `EVP_MAC_CTX_set_params`)

## Name

EVP_SIGNATURE-HMAC, EVP_SIGNATURE-Siphash, EVP_SIGNATURE-Poly1305, EVP_SIGNATURE-CMAC — The legacy EVP_PKEY MAC signature implementations

## Synopsis

Not applicable (these are legacy implementations used via `EVP_DigestSignInit` and `EVP_PKEY_CTX_set_params`).

## Description

These algorithms provide legacy support for creating MACs using `EVP_DigestSignInit` and related functions. This is not the preferred way; use the newer `EVP_MAC_init` functions instead. This mechanism is provided for backwards compatibility.

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.

For parameters supported during creation of an EVP_PKEY, see `EVP_PKEY-HMAC(7)`, `EVP_PKEY-Siphash(7)`, `EVP_PKEY-Poly1305(7)`, and `EVP_PKEY-CMAC(7)`.

## See Also

- [EVP_MAC_init(3)](https://www.openssl.org/docs/man3.0/man3/EVP_MAC_init.html)
- [EVP_DigestSignInit(3)](https://www.openssl.org/docs/man3.0/man3/EVP_DigestSignInit.html)
- [EVP_PKEY-HMAC(7)](https://www.openssl.org/docs/man3.0/man7/EVP_PKEY-HMAC.html)
- [EVP_PKEY-Siphash(7)](https://www.openssl.org/docs/man3.0/man7/EVP_PKEY-Siphash.html)
- [EVP_PKEY-Poly1305(7)](https://www.openssl.org/docs/man3.0/man7/EVP_PKEY-Poly1305.html)
- [EVP_PKEY-CMAC(7)](https://www.openssl.org/docs/man3.0/man7/EVP_PKEY-CMAC.html)
- [EVP_MAC-HMAC(7)](https://www.openssl.org/docs/man3.0/man7/EVP_MAC-HMAC.html)
- [EVP_MAC-Siphash(7)](https://www.openssl.org/docs/man3.0/man7/EVP_MAC-Siphash.html)
- [EVP_MAC-Poly1305(7)](https://www.openssl.org/docs/man3.0/man7/EVP_MAC-Poly1305.html)
- [EVP_MAC-CMAC(7)](https://www.openssl.org/docs/man3.0/man7/EVP_MAC-CMAC.html)
- [provider-signature(7)](https://www.openssl.org/docs/man3.0/man7/provider-signature.html)