EVP_KEYEXCH-X25519.pod 1.0 KB

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