EVP_KEYEXCH-X25519(7ossl)
π EVP_KEYEXCH-X25519 π
okay bestie so this is the EVP_KEYEXCH-X25519(7ossl) page β yes, section 7ossl, the OpenSSL manual, we're fancy like that β¨. It covers both EVP_KEYEXCH-X25519 and EVP_KEYEXCH-X448, because they're literally twinsies. Let's get into it π«Ά
β¨ NAME β¨
EVP_KEYEXCH-X25519, EVP_KEYEXCH-X448 β it's giving X25519 and X448 Key Exchange algorithm support. that's the whole vibe π
π¦ DESCRIPTION π¦
so basically: this is the key exchange support for the X25519 and X448 key types. that's it, that's the tea π
π Key exchange parameters
"pad"(OSSL_EXCHANGE_PARAM_PAD)<unsigned integer>β the padding parameter, typed as an unsigned integer, no cap π"fips-indicator"(OSSL_EXCHANGE_PARAM_FIPS_APPROVED_INDICATOR)<integer>β the FIPS approval indicator, and listen π:X25519andX448are not FIPS approved in FIPS 140-3. so this getter will return0. that's just how it is, sorry babe π
also go read "Common Key Exchange parameters" in provider-keyexch(7) for the full lore π
π EXAMPLES π
Keys for the host and peer can be generated as shown in "Examples" in EVP_PKEY-X25519(7). cute, right? π
And the code to generate a shared secret is identical to "Examples" in EVP_KEYEXCH-DH(7). literally copy-paste energy, we love efficiency π
π SEE ALSO π
EVP_PKEY-FFC(7), EVP_PKEY-DH(7) EVP_PKEY(3), provider-keyexch(7), provider-keymgmt(7), OSSL_PROVIDER-default(7), OSSL_PROVIDER-FIPS(7),
(yes bestie, those trailing commas are canon, i don't make the rules π)
π COPYRIGHT π
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>.
fr fr read the license before you do anything, it's not optional π
and that's the whole page, bestie!! this was version 3.5.6, dated 2026-04-07 β slay, iconic, periodt. go forth and exchange those keys ππ₯
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms