---
name: "EVP_KEYEXCH-X25519"
section: "7ssl"
platform: "linux"
package: "openssl"
version: "3.6.5-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/EVP_KEYEXCH-X25519"
---

# EVP\_KEYEXCH-X25519(7ssl)

X25519 and X448 Key Exchange algorithm support

## NAME

EVP\_KEYEXCH-X25519, EVP\_KEYEXCH-X448 - X25519 and X448 Key Exchange algorithm support

## DESCRIPTION

Key exchange support for the **X25519** and **X448** key types.

### Key exchange parameters

- "pad" (**OSSL\_EXCHANGE\_PARAM\_PAD**) \<unsigned integer\>

  - "fips-indicator" (**OSSL\_EXCHANGE\_PARAM\_FIPS\_APPROVED\_INDICATOR**) \<integer\>

  **X25519** and **X448** are not FIPS approved in FIPS 140-3. So this getter will return 0.

  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

**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),

## 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\>.
