EVP_KEYEXCH-X25519(7SSL)

πŸ’– EVP_KEYEXCH-X25519 β€” the X25519 & X448 key exchange tea β˜•βœ¨

okay so bestie, welcome to the EVP_KEYEXCH-X25519 page in the 7SSL manual, courtesy of our faves OpenSSL πŸ’… this one's short and sweet but it's giving foundational, so lock in 🫢

✨ NAME ✨

EVP_KEYEXCH-X25519, EVP_KEYEXCH-X448 β€” X25519 and X448 Key Exchange algorithm support 🌸

🌈 DESCRIPTION 🌈

so basically? key exchange support for the X25519 and X448 key types. that's the whole vibe. two iconic little curves, out here doing their handshake thing 🀝✨

πŸ”‘ Key exchange parameters πŸ”‘

  • "pad" (OSSL_EXCHANGE_PARAM_PAD) <unsigned integer> β€” yeah. it's a thing. it's listed. that's the entry, bestie πŸ’…
  • "fips-indicator" (OSSL_EXCHANGE_PARAM_FIPS_APPROVED_INDICATOR) <integer> β€” not me having to break the news tho 😭 X25519 and X448 are not FIPS approved in FIPS 140-3. so this getter? it will return 0. periodt. no cap. πŸ’€
fr fr, peep "Common Key Exchange parameters" over in provider-keyexch(7) if you wanna read the whole lore πŸ“–

🌟 EXAMPLES 🌟

keys for the host and the peer can be generated exactly the way it's shown in "Examples" over in EVP_PKEY-X25519(7). iconic, we love a reuse moment πŸŽ€

and the code to generate a shared secret? literally identical to "Examples" in EVP_KEYEXCH-DH(7). same energy, no notes ✨

πŸ‘€ SEE ALSO πŸ‘€

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


and that's the whole page, bestie πŸ’– this was EVP_KEYEXCH-X25519(7SSL) from OpenSSL, version 4.0.3, dated 2026-09-29 β€” slay, stay encrypted, and don't forget to read the docs before you ship πŸŒˆβ­πŸ‘‘

πŸ“¦ where this page comes from