EVP_PKEY-HMAC - Online Linux Manual PageSection : 7SSL
Updated : 2022-08-14
Source : 3.0.5
Note : OpenSSL

NAMEEVP_PKEY−HMAC, EVP_KEYMGMT−HMAC, EVP_PKEY−Siphash, EVP_KEYMGMT−Siphash, EVP_PKEY−Poly1305, EVP_KEYMGMT−Poly1305, EVP_PKEY−CMAC, EVP_KEYMGMT−CMAC ​− EVP_PKEY legacy MAC keytypes and algorithm support

DESCRIPTIONThe HMAC and CMAC key types are implemented in OpenSSL's default and FIPS providers. Additionally the Siphash and Poly1305 key types are implemented in the default provider. Performing MAC operations via an EVP_PKEY is considered legacy and are only available for backwards compatibility purposes and for a restricted set of algorithms. The preferred way of performing MAC operations is via the EVP_MAC APIs. See EVP_MAC_init(3). For further details on using EVP_PKEY based MAC keys see ​EVP_SIGNATURE−HMAC(7), EVP_SIGNATURE−Siphash(7), ​EVP_SIGNATURE−Poly1305(7) or EVP_SIGNATURE−CMAC(7).

Common MAC parametersAll the MAC keytypes support the following parameters. ``priv'' (OSSL_PKEY_PARAM_PRIV_KEY) <octet string> The MAC key value. ``properties'' (OSSL_PKEY_PARAM_PROPERTIES) <UTF8 string> A property query string to be used when any algorithms are fetched.

CMAC parametersAs well as the parameters described above, the CMAC keytype additionally supports the following parameters. ``cipher'' (OSSL_PKEY_PARAM_CIPHER) <UTF8 string> The name of a cipher to be used when generating the MAC. ``engine'' (OSSL_PKEY_PARAM_ENGINE) <UTF8 string> The name of an engine to be used for the specified cipher (if any).

Common MAC key generation parametersMAC key generation is unusual in that no new key is actually generated. Instead a new provider side key object is created with the supplied raw key value. This is done for backwards compatibility with previous versions of OpenSSL. ``priv'' (OSSL_PKEY_PARAM_PRIV_KEY) <octet string> The MAC key value.

CMAC key generation parametersIn addition to the common MAC key generation parameters, the CMAC key generation additionally recognises the following. ``cipher'' (OSSL_PKEY_PARAM_CIPHER) <UTF8 string> The name of a cipher to be used when generating the MAC.

SEE ALSOEVP_KEYMGMT(3), EVP_PKEY(3), provider−keymgmt(7)

COPYRIGHTCopyright 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>.
0
Johanes Gumabo
Data Size   :   11,070 byte
man-EVP_KEYMGMT-CMAC.7sslBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 191,938
Visitor ID   :     :  
Visitor IP   :   52.14.148.63   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|EVP_PKEY-HMAC.7ssl|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|EVP_PKEY-HMAC.7ssl|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|EVP_PKEY-HMAC.7ssl|43|br══─}─══|'br══─}─══ )         (htmlprn|149|EVP_PKEY-HMAC.7ssl|43|'br══─}─══ |'br══─}─══ )