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