xref: /netbsd-src/crypto/external/bsd/openssl/dist/doc/man7/EVP_KEYEXCH-X25519.pod (revision b0d1725196a7921d003d2c66a14f186abda4176b)
1*b0d17251Schristos=pod
2*b0d17251Schristos
3*b0d17251Schristos=head1 NAME
4*b0d17251Schristos
5*b0d17251SchristosEVP_KEYEXCH-X25519,
6*b0d17251SchristosEVP_KEYEXCH-X448
7*b0d17251Schristos- X25519 and X448 Key Exchange algorithm support
8*b0d17251Schristos
9*b0d17251Schristos=head1 DESCRIPTION
10*b0d17251Schristos
11*b0d17251SchristosKey exchange support for the B<X25519> and B<X448> key types.
12*b0d17251Schristos
13*b0d17251Schristos=head2 Key exchange parameters
14*b0d17251Schristos
15*b0d17251Schristos=over 4
16*b0d17251Schristos
17*b0d17251Schristos=item "pad" (B<OSSL_EXCHANGE_PARAM_PAD>) <unsigned integer>
18*b0d17251Schristos
19*b0d17251SchristosSee L<provider-keyexch(7)/Common Key Exchange parameters>.
20*b0d17251Schristos
21*b0d17251Schristos=back
22*b0d17251Schristos
23*b0d17251Schristos=head1 EXAMPLES
24*b0d17251Schristos
25*b0d17251SchristosKeys for the host and peer can be generated as shown in
26*b0d17251SchristosL<EVP_PKEY-X25519(7)/Examples>.
27*b0d17251Schristos
28*b0d17251SchristosThe code to generate a shared secret is identical to
29*b0d17251SchristosL<EVP_KEYEXCH-DH(7)/Examples>.
30*b0d17251Schristos
31*b0d17251Schristos=head1 SEE ALSO
32*b0d17251Schristos
33*b0d17251SchristosL<EVP_PKEY-FFC(7)>,
34*b0d17251SchristosL<EVP_PKEY-DH(7)>
35*b0d17251SchristosL<EVP_PKEY(3)>,
36*b0d17251SchristosL<provider-keyexch(7)>,
37*b0d17251SchristosL<provider-keymgmt(7)>,
38*b0d17251SchristosL<OSSL_PROVIDER-default(7)>,
39*b0d17251SchristosL<OSSL_PROVIDER-FIPS(7)>,
40*b0d17251Schristos
41*b0d17251Schristos=head1 COPYRIGHT
42*b0d17251Schristos
43*b0d17251SchristosCopyright 2020 The OpenSSL Project Authors. All Rights Reserved.
44*b0d17251Schristos
45*b0d17251SchristosLicensed under the Apache License 2.0 (the "License").  You may not use
46*b0d17251Schristosthis file except in compliance with the License.  You can obtain a copy
47*b0d17251Schristosin the file LICENSE in the source distribution or at
48*b0d17251SchristosL<https://www.openssl.org/source/license.html>.
49*b0d17251Schristos
50*b0d17251Schristos=cut
51