{
    "mode": "man",
    "parameter": "EVP_MAC-Poly1305",
    "section": "7ssl",
    "url": "https://www.chedong.com/phpMan.php/man/EVP_MAC-Poly1305/7ssl/json",
    "generated": "2026-05-30T05:15:45Z",
    "sections": {
        "NAME": {
            "content": "EVPMAC-Poly1305 - The Poly1305 EVPMAC implementation\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Support for computing Poly1305 MACs through the EVPMAC API.\n",
            "subsections": [
                {
                    "name": "Identity",
                    "content": "This implementation is identified with this name and properties, to be used with\nEVPMACfetch():\n\n\"POLY1305\", \"provider=default\"\n"
                },
                {
                    "name": "Supported parameters",
                    "content": "The general description of these parameters can be found in \"PARAMETERS\" in EVPMAC(3).\n\nThe following parameter can be set with EVPMACCTXsetparams():\n\n\"key\" (OSSLMACPARAMKEY) <octet string>\nSets the MAC key.  Setting this parameter is identical to passing a key to\nEVPMACinit(3).\n\nThe following parameters can be retrieved with EVPMACCTXgetparams():\n\n\"size\" (OSSLMACPARAMSIZE) <unsigned integer>\nGets the MAC size.\n\nThe \"size\" parameter can also be retrieved with with EVPMACCTXgetmacsize().  The length\nof the \"size\" parameter should not exceed that of an unsigned int.\n"
                }
            ]
        },
        "NOTES": {
            "content": "The OpenSSL implementation of the Poly 1305 MAC corresponds to RFC 7539.\n\nIt is critical to never reuse the key.  The security implication noted in RFC 8439 applies\nequally to the OpenSSL implementation.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "EVPMACCTXgetparams(3), EVPMACCTXsetparams(3), \"PARAMETERS\" in EVPMAC(3),\nOSSLPARAM(3)\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.\n\nLicensed under the Apache License 2.0 (the \"License\").  You may not use this file except in\ncompliance with the License.  You can obtain a copy in the file LICENSE in the source\ndistribution or at <https://www.openssl.org/source/license.html>.\n\n\n\n3.0.2                                        2026-04-07                       EVPMAC-POLY1305(7SSL)",
            "subsections": []
        }
    },
    "summary": "EVPMAC-Poly1305 - The Poly1305 EVPMAC implementation",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "EVPMACCTXgetparams",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/EVPMACCTXgetparams/3/json"
        },
        {
            "name": "EVPMACCTXsetparams",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/EVPMACCTXsetparams/3/json"
        },
        {
            "name": "EVPMAC",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/EVPMAC/3/json"
        },
        {
            "name": "OSSLPARAM",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/OSSLPARAM/3/json"
        }
    ]
}