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