EVP_KEYEXCH-X25519(7ossl)
π EVP_KEYEXCH-X25519(7ossl) β X25519 & X448 Key Exchange, bestie edition β¨
okay so real talk, this is the OpenSSL manual page for the X25519 and X448 key exchange support. It lives in section 7ossl of the manual, and it's short and sweet β like, shockingly short, which honestly? iconic of it. Let's get into it π
πΈ NAME πΈ
EVP_KEYEXCH-X25519, EVP_KEYEXCH-X448 β the X25519 and X448 Key Exchange algorithm support. that's the whole vibe, that's what we're doing here π
π¦ SYNOPSIS π¦
no cap, there's no synopsis block on this one β it's giving "just read the description, babe." moving on π«Ά
β¨ DESCRIPTION β¨
So this page is all about key exchange support for the X25519 and X448 key types. That's the entire description, bestie. Short king energy π
π₯ Key exchange parameters π₯
These are the params you can poke at, and here's the tea on each one:
"pad"(OSSL_EXCHANGE_PARAM_PAD)<unsigned integer>β that's the param name, that's the type, go off π (the page literally gives you the name and the<unsigned integer>type and dips, so that's all we're working with here π)"fips-indicator"(OSSL_EXCHANGE_PARAM_FIPS_APPROVED_INDICATOR)<integer>β okay so this is the FIPS approval getter, and here's the important bit: X25519 and X448 are not FIPS approved in FIPS 140-3. So this getter will return0. Periodt. No notes. π
and if you want the full scoop on the general ones, check out the "Common Key Exchange parameters" section over in provider-keyexch(7) π
π EXAMPLES π
okay so first things first: the keys for the host and the peer? you generate those exactly like it shows in the "Examples" section over in EVP_PKEY-X25519(7). cute, easy, slay β¨
and then the code to generate a shared secret? literally identical to the "Examples" section in EVP_KEYEXCH-DH(7). so if you've already read that one, you're basically done here. bestie, you ate π
π SEE ALSO π
go touch some of these while you're at it, they're all friends:
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)
(and yes, the original page has a stray comma hanging out at the end of that list and we're keeping it, it's part of the family now π)
π 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 go copying stuff β that's not me being dramatic, that's the actual license text being the actual license text π
π and that's the whole page! π
This one's from OpenSSL 3.5.0, dated 2026-09-25, and it's the EVP_KEYEXCH-X25519(7ossl) page. short, sweet, FIPS-unapproved, and absolutely slaying. mwah ππ
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- opensuse-leap 16.0: openssl-3 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms