man > EVP_KEYEXCH-X448(7ssl)

📛 NAME

EVP_KEYEXCH-X25519, EVP_KEYEXCH-X448 - X25519 and X448 Key Exchange algorithm support

🚀 Quick Reference

🔧 Use CaseđŸ’ģ Command📝 Description
🔑 Generate X25519 key pairEVP_PKEY_keygen()Generate new X25519 or X448 key pair (see EVP_PKEY-X25519(7))
🔄 Derive shared secretEVP_PKEY_derive()Perform key exchange to compute shared secret (see EVP_KEYEXCH-DH(7))
đŸ› ī¸ Set pad parameterOSSL_EXCHANGE_PARAM_PADControl padding (unsigned integer) via OSSL_PARAM

📖 DESCRIPTION

Key exchange support for the X25519 and X448 key types.

🔑 Key Exchange Parameters

"pad" (OSSL_EXCHANGE_PARAM_PAD) <unsigned integer> — See "Common Key Exchange parameters" in provider-keyexch(7).

💡 EXAMPLES

Keys for the host and peer can be generated as shown in "Examples" in EVP_PKEY-X25519(7).

The code to generate a shared secret is identical to "Examples" in EVP_KEYEXCH-DH(7).

📚 SEE ALSO

ÂŠī¸ COPYRIGHT

Copyright 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>.

EVP_KEYEXCH-X448(7ssl)
📛 NAME 🚀 Quick Reference 📖 DESCRIPTION
🔑 Key Exchange Parameters
💡 EXAMPLES 📚 SEE ALSO ÂŠī¸ COPYRIGHT

Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 20:50 @2600:1f28:365:80b0:b91e:58eb:6587:15c8
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format