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