{
    "content": [
        {
            "type": "text",
            "text": "# EVP_MAC-Poly1305(7ssl) (man)\n\n**Summary:** EVPMAC-Poly1305 - The Poly1305 EVPMAC implementation\n\n## See Also\n\n- EVPMACCTXgetparams(3)\n- EVPMACCTXsetparams(3)\n- EVPMAC(3)\n- OSSLPARAM(3)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **DESCRIPTION** (2 lines) — 2 subsections\n  - Identity (5 lines)\n  - Supported parameters (16 lines)\n- **NOTES** (5 lines)\n- **SEE ALSO** (3 lines)\n- **COPYRIGHT** (9 lines)\n\n## Full Content\n\n### NAME\n\nEVPMAC-Poly1305 - The Poly1305 EVPMAC implementation\n\n### DESCRIPTION\n\nSupport for computing Poly1305 MACs through the EVPMAC API.\n\n#### Identity\n\nThis implementation is identified with this name and properties, to be used with\nEVPMACfetch():\n\n\"POLY1305\", \"provider=default\"\n\n#### Supported parameters\n\nThe 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\n### NOTES\n\nThe 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\n### SEE ALSO\n\nEVPMACCTXgetparams(3), EVPMACCTXsetparams(3), \"PARAMETERS\" in EVPMAC(3),\nOSSLPARAM(3)\n\n### COPYRIGHT\n\nCopyright 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)\n\n"
        }
    ],
    "structuredContent": {
        "command": "EVP_MAC-Poly1305",
        "section": "7ssl",
        "mode": "man",
        "summary": "EVPMAC-Poly1305 - The Poly1305 EVPMAC implementation",
        "synopsis": null,
        "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": [
                    {
                        "name": "Identity",
                        "lines": 5
                    },
                    {
                        "name": "Supported parameters",
                        "lines": 16
                    }
                ]
            },
            {
                "name": "NOTES",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 9,
                "subsections": []
            }
        ]
    }
}