2
0

evp_pkey_get1_ED25519.pod 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. =pod
  2. =head1 NAME
  3. evp_pkey_get1_ED25519, evp_pkey_get1_ED448,
  4. evp_pkey_get1_X25519, evp_pkey_get1_X448
  5. - internal ECX from EVP_PKEY getter functions
  6. =head1 SYNOPSIS
  7. #include "internal/evp.h"
  8. ECX_KEY *evp_pkey_get1_ED25519(EVP_PKEY *pkey);
  9. ECX_KEY *evp_pkey_get1_ED448(EVP_PKEY *pkey);
  10. ECX_KEY *evp_pkey_get1_X25519(EVP_PKEY *pkey);
  11. ECX_KEY *evp_pkey_get1_X448(EVP_PKEY *pkey);
  12. =head1 DESCRIPTION
  13. evp_pkey_get1_ED25519(), evp_pkey_get1_ED448(), evp_pkey_get1_X25519() and
  14. evp_pkey_get1_X448() return the referenced key in I<pkey> or NULL if the key
  15. is not of the correct type. The returned key must be freed after use.
  16. =head1 RETURN VALUES
  17. evp_pkey_get1_ED25519(), evp_pkey_get1_ED448(), evp_pkey_get1_X25519() and
  18. evp_pkey_get1_X448() return the referenced key or NULL if an error
  19. occurred.
  20. =head1 HISTORY
  21. This functionality was added to OpenSSL 3.0.
  22. =head1 COPYRIGHT
  23. Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
  24. Licensed under the Apache License 2.0 (the "License"). You may not use this
  25. file except in compliance with the License. You can obtain a copy in the file
  26. LICENSE in the source distribution or at
  27. L<https://www.openssl.org/source/license.html>.
  28. =cut