Home | History | Annotate | Line # | Download | only in man3
      1 =pod
      2 
      3 =head1 NAME
      4 
      5 evp_pkey_get1_ED25519, evp_pkey_get1_ED448,
      6 evp_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 
     20 evp_pkey_get1_ED25519(), evp_pkey_get1_ED448(), evp_pkey_get1_X25519() and
     21 evp_pkey_get1_X448() return the referenced key in I<pkey> or NULL if the key
     22 is not of the correct type.  The returned key must be freed after use.
     23 
     24 =head1 RETURN VALUES
     25 
     26 evp_pkey_get1_ED25519(), evp_pkey_get1_ED448(), evp_pkey_get1_X25519() and
     27 evp_pkey_get1_X448() return the referenced key or NULL if an error
     28 occurred.
     29 
     30 =head1 HISTORY
     31 
     32 This functionality was added to OpenSSL 3.0.
     33 
     34 =head1 COPYRIGHT
     35 
     36 Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
     37 
     38 Licensed under the Apache License 2.0 (the "License").  You may not use this
     39 file except in compliance with the License.  You can obtain a copy in the file
     40 LICENSE in the source distribution or at
     41 L<https://www.openssl.org/source/license.html>.
     42 
     43 =cut
     44