{
    "content": [
        {
            "type": "text",
            "text": "# EVP_KEYMGMT-ED448 (man)\n\n## NAME\n\nEVPPKEY-X25519, EVPPKEY-X448, EVPPKEY-ED25519, EVPPKEY-ED448, EVPKEYMGMT-X25519, EVPKEYMGMT-X448, EVPKEYMGMT-ED25519, EVPKEYMGMT-ED448 - EVPPKEY X25519, X448, ED25519 and ED448 keytype and algorithm support\n\n## DESCRIPTION\n\nThe X25519, X448, ED25519 and ED448 keytypes are implemented in OpenSSL's default and FIPS\nproviders.  These implementations support the associated key, containing the public key pub\nand the private key priv.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION** (2 subsections)\n- **CONFORMING TO**\n- **EXAMPLES**\n- **SEE ALSO**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "EVP_KEYMGMT-ED448",
        "section": "",
        "mode": "man",
        "summary": "EVPPKEY-X25519, EVPPKEY-X448, EVPPKEY-ED25519, EVPPKEY-ED448, EVPKEYMGMT-X25519, EVPKEYMGMT-X448, EVPKEYMGMT-ED25519, EVPKEYMGMT-ED448 - EVPPKEY X25519, X448, ED25519 and ED448 keytype and algorithm support",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [
            "An EVPPKEY context can be obtained by calling:",
            "EVPPKEYCTX *pctx =",
            "EVPPKEYCTXnewfromname(NULL, \"X25519\", NULL);",
            "EVPPKEYCTX *pctx =",
            "EVPPKEYCTXnewfromname(NULL, \"X448\", NULL);",
            "EVPPKEYCTX *pctx =",
            "EVPPKEYCTXnewfromname(NULL, \"ED25519\", NULL);",
            "EVPPKEYCTX *pctx =",
            "EVPPKEYCTXnewfromname(NULL, \"ED448\", NULL);",
            "An X25519 key can be generated like this:",
            "pkey = EVPPKEYQkeygen(NULL, NULL, \"X25519\");",
            "An X448, ED25519, or ED448 key can be generated likewise."
        ],
        "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"
            },
            {
                "name": "EVPKEYEXCH-X25519",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/EVPKEYEXCH-X25519/7/json"
            },
            {
                "name": "EVPKEYEXCH-X448",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/EVPKEYEXCH-X448/7/json"
            },
            {
                "name": "EVPSIGNATURE-ED25519",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/EVPSIGNATURE-ED25519/7/json"
            },
            {
                "name": "EVPSIGNATURE-ED448",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/EVPSIGNATURE-ED448/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": [
                    {
                        "name": "Common X25519, X448, ED25519 and ED448 parameters",
                        "lines": 19
                    },
                    {
                        "name": "ED25519 and ED448 parameters",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "CONFORMING TO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 9,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "EVPPKEY-X25519, EVPPKEY-X448, EVPPKEY-ED25519, EVPPKEY-ED448, EVPKEYMGMT-X25519,\nEVPKEYMGMT-X448, EVPKEYMGMT-ED25519, EVPKEYMGMT-ED448 - EVPPKEY X25519, X448, ED25519 and\nED448 keytype and algorithm support\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The X25519, X448, ED25519 and ED448 keytypes are implemented in OpenSSL's default and FIPS\nproviders.  These implementations support the associated key, containing the public key pub\nand the private key priv.\n\nNo additional parameters can be set during key generation.\n",
                "subsections": [
                    {
                        "name": "Common X25519, X448, ED25519 and ED448 parameters",
                        "content": "In addition to the common parameters that all keytypes should support (see \"Common\nparameters\" in provider-keymgmt(7)), the implementation of these keytypes support the\nfollowing.\n\n\"group\" (OSSLPKEYPARAMGROUPNAME) <UTF8 string>\nThis is only supported by X25519 and X448. The group name must be \"x25519\" or \"x448\"\nrespectively for those algorithms. This is only present for consistency with other key\nexchange algorithms and is typically not needed.\n\n\"pub\" (OSSLPKEYPARAMPUBKEY) <octet string>\nThe public key value.\n\n\"priv\" (OSSLPKEYPARAMPRIVKEY) <octet string>\nThe private key value.\n\n\"encoded-pub-key\" (OSSLPKEYPARAMENCODEDPUBLICKEY) <octet string>\nUsed for getting and setting the encoding of a public key for the X25519 and X448 key\ntypes. Public keys are expected be encoded in a format as defined by RFC7748.\n"
                    },
                    {
                        "name": "ED25519 and ED448 parameters",
                        "content": "\"mandatory-digest\" (OSSLPKEYPARAMMANDATORYDIGEST) <UTF8 string>\nThe empty string, signifying that no digest may be specified.\n"
                    }
                ]
            },
            "CONFORMING TO": {
                "content": "RFC 8032\nRFC 8410\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "An EVPPKEY context can be obtained by calling:\n\nEVPPKEYCTX *pctx =\nEVPPKEYCTXnewfromname(NULL, \"X25519\", NULL);\n\nEVPPKEYCTX *pctx =\nEVPPKEYCTXnewfromname(NULL, \"X448\", NULL);\n\nEVPPKEYCTX *pctx =\nEVPPKEYCTXnewfromname(NULL, \"ED25519\", NULL);\n\nEVPPKEYCTX *pctx =\nEVPPKEYCTXnewfromname(NULL, \"ED448\", NULL);\n\nAn X25519 key can be generated like this:\n\npkey = EVPPKEYQkeygen(NULL, NULL, \"X25519\");\n\nAn X448, ED25519, or ED448 key can be generated likewise.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "EVPKEYMGMT(3), EVPPKEY(3), provider-keymgmt(7), EVPKEYEXCH-X25519(7), EVPKEYEXCH-X448(7),\nEVPSIGNATURE-ED25519(7), EVPSIGNATURE-ED448(7)\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright 2020-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-06-02                        EVPPKEY-X25519(7SSL)",
                "subsections": []
            }
        }
    }
}