# EVP_SIGNATURE-Siphash(7ssl) - man - phpman

[EVP_SIGNATURE-HMAC(7SSL)](https://www.chedong.com/phpMan.php/man/EVPSIGNATURE-HMAC/7SSL/markdown)                       OpenSSL                      [EVP_SIGNATURE-HMAC(7SSL)](https://www.chedong.com/phpMan.php/man/EVPSIGNATURE-HMAC/7SSL/markdown)



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

## DESCRIPTION
       The algorithms described here have legacy support for creating MACs using
       **EVP**___**[DigestSignInit**(3)](https://www.chedong.com/phpMan.php/man/DigestSignInit/3/markdown) and related functions. This is not the preferred way of creating MACs.
       Instead you should use the newer **EVP**___**MAC**___**[init**(3)](https://www.chedong.com/phpMan.php/man/init/3/markdown) functions.  This mechanism is provided for
       backwards compatibility with older versions of OpenSSL.

       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)](https://www.chedong.com/phpMan.php/man/MAC-HMAC/7/markdown), **EVP**___**[MAC-Siphash**(7)](https://www.chedong.com/phpMan.php/man/MAC-Siphash/7/markdown),
       **EVP**___**[MAC-Poly1305**(7)](https://www.chedong.com/phpMan.php/man/MAC-Poly1305/7/markdown) and **EVP**___**[MAC-CMAC**(7)](https://www.chedong.com/phpMan.php/man/MAC-CMAC/7/markdown) for details.

        See L<[EVP_PKEY-HMAC(7)](https://www.chedong.com/phpMan.php/man/EVPPKEY-HMAC/7/markdown)>, L<[EVP_PKEY-Siphash(7)](https://www.chedong.com/phpMan.php/man/EVPPKEY-Siphash/7/markdown)>, L<[EVP_PKEY-Poly1305(7)](https://www.chedong.com/phpMan.php/man/EVPPKEY-Poly1305/7/markdown)> or
        L<[EVP_PKEY-CMAC(7)](https://www.chedong.com/phpMan.php/man/EVPPKEY-CMAC/7/markdown)> for details about parameters that are supported during the
        creation of an EVP_PKEY.

## SEE ALSO
       **EVP**___**MAC**___**[init**(3)](https://www.chedong.com/phpMan.php/man/init/3/markdown), **EVP**___**[DigestSignInit**(3)](https://www.chedong.com/phpMan.php/man/DigestSignInit/3/markdown), **EVP**___**[PKEY-HMAC**(7)](https://www.chedong.com/phpMan.php/man/PKEY-HMAC/7/markdown), **EVP**___**[PKEY-Siphash**(7)](https://www.chedong.com/phpMan.php/man/PKEY-Siphash/7/markdown),
       **EVP**___**[PKEY-Poly1305**(7)](https://www.chedong.com/phpMan.php/man/PKEY-Poly1305/7/markdown), **EVP**___**[PKEY-CMAC**(7)](https://www.chedong.com/phpMan.php/man/PKEY-CMAC/7/markdown), **EVP**___**[MAC-HMAC**(7)](https://www.chedong.com/phpMan.php/man/MAC-HMAC/7/markdown), **EVP**___**[MAC-Siphash**(7)](https://www.chedong.com/phpMan.php/man/MAC-Siphash/7/markdown),
       **EVP**___**[MAC-Poly1305**(7)](https://www.chedong.com/phpMan.php/man/MAC-Poly1305/7/markdown), **EVP**___**[MAC-CMAC**(7)](https://www.chedong.com/phpMan.php/man/MAC-CMAC/7/markdown), [**provider-signature**(7)](https://www.chedong.com/phpMan.php/man/provider-signature/7/markdown),

## 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>>.



3.0.2                                        2026-04-07                     [EVP_SIGNATURE-HMAC(7SSL)](https://www.chedong.com/phpMan.php/man/EVPSIGNATURE-HMAC/7SSL/markdown)
