{
    "mode": "info",
    "parameter": "EVP_PKEY-Poly1305",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/EVP_PKEY-Poly1305/json",
    "generated": "2026-07-05T15:55:55Z",
    "sections": {
        "NAME": {
            "content": "EVPPKEY-HMAC, EVPKEYMGMT-HMAC, EVPPKEY-Siphash, EVPKEYMGMT-Siphash,\nEVPPKEY-Poly1305, EVPKEYMGMT-Poly1305, EVPPKEY-CMAC,\nEVPKEYMGMT-CMAC - EVPPKEY legacy MAC keytypes and algorithm support\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The HMAC and CMAC key types are implemented in OpenSSL's default and\nFIPS providers. Additionally the Siphash and Poly1305 key types are\nimplemented in the default provider. Performing MAC operations via an\nEVPPKEY is considered legacy and are only available for backwards\ncompatibility purposes and for a restricted set of algorithms. The\npreferred way of performing MAC operations is via the EVPMAC APIs. See\nEVPMACinit(3).\n\nFor further details on using EVPPKEY based MAC keys see\nEVPSIGNATURE-HMAC(7), EVPSIGNATURE-Siphash(7),\nEVPSIGNATURE-Poly1305(7) or EVPSIGNATURE-CMAC(7).\n\nCommon MAC parameters\nAll the MAC keytypes support the following parameters.\n\n\"priv\" (OSSLPKEYPARAMPRIVKEY) <octet string>\nThe MAC key value.\n\n\"properties\" (OSSLPKEYPARAMPROPERTIES) <UTF8 string>\nA property query string to be used when any algorithms are fetched.\n\nCMAC parameters\nAs well as the parameters described above, the CMAC keytype\nadditionally supports the following parameters.\n\n\"cipher\" (OSSLPKEYPARAMCIPHER) <UTF8 string>\nThe name of a cipher to be used when generating the MAC.\n\n\"engine\" (OSSLPKEYPARAMENGINE) <UTF8 string>\nThe name of an engine to be used for the specified cipher (if any).\n\nCommon MAC key generation parameters\nMAC key generation is unusual in that no new key is actually generated.\nInstead a new provider side key object is created with the supplied raw\nkey value. This is done for backwards compatibility with previous\nversions of OpenSSL.\n\n\"priv\" (OSSLPKEYPARAMPRIVKEY) <octet string>\nThe MAC key value.\n\nCMAC key generation parameters\nIn addition to the common MAC key generation parameters, the CMAC key\ngeneration additionally recognises the following.\n\n\"cipher\" (OSSLPKEYPARAMCIPHER) <UTF8 string>\nThe name of a cipher to be used when generating the MAC.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "EVPKEYMGMT(3), EVPPKEY(3), provider-keymgmt(7)\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.\n\nLicensed under the Apache License 2.0 (the \"License\").  You may not use\nthis file except in compliance with the License.  You can obtain a copy\nin the file LICENSE in the source distribution or at\n<https://www.openssl.org/source/license.html>.\n\n3.0.2                             2026-06-02               EVPPKEY-HMAC(7SSL)",
            "subsections": []
        }
    },
    "summary": "EVPPKEY-HMAC, EVPKEYMGMT-HMAC, EVPPKEY-Siphash, EVPKEYMGMT-Siphash, EVPPKEY-Poly1305, EVPKEYMGMT-Poly1305, EVPPKEY-CMAC, EVPKEYMGMT-CMAC - EVPPKEY legacy MAC keytypes and algorithm support",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "EVPKEYMGMT",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/EVPKEYMGMT/3/json"
        },
        {
            "name": "EVPPKEY",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/EVPPKEY/3/json"
        },
        {
            "name": "provider-keymgmt",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/provider-keymgmt/7/json"
        }
    ]
}