mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
3a1ee3c199
The configuration option 'no-rsa' was dropped with OpenSSL 1.1.0, so this is simply a cleanup of the remains. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13700)
48 lines
1.1 KiB
C
48 lines
1.1 KiB
C
/*
|
|
* Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved.
|
|
*
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
* in the file LICENSE in the source distribution or at
|
|
* https://www.openssl.org/source/license.html
|
|
*/
|
|
|
|
/*
|
|
* This table MUST be kept in ascending order of the NID each method
|
|
* represents (corresponding to the pkey_id field) as OBJ_bsearch
|
|
* is used to search it.
|
|
*/
|
|
static const EVP_PKEY_ASN1_METHOD *standard_methods[] = {
|
|
&rsa_asn1_meths[0],
|
|
&rsa_asn1_meths[1],
|
|
#ifndef OPENSSL_NO_DH
|
|
&dh_asn1_meth,
|
|
#endif
|
|
#ifndef OPENSSL_NO_DSA
|
|
&dsa_asn1_meths[0],
|
|
&dsa_asn1_meths[1],
|
|
&dsa_asn1_meths[2],
|
|
&dsa_asn1_meths[3],
|
|
&dsa_asn1_meths[4],
|
|
#endif
|
|
#ifndef OPENSSL_NO_EC
|
|
&eckey_asn1_meth,
|
|
#endif
|
|
&rsa_pss_asn1_meth,
|
|
#ifndef OPENSSL_NO_DH
|
|
&dhx_asn1_meth,
|
|
#endif
|
|
#ifndef OPENSSL_NO_EC
|
|
&ecx25519_asn1_meth,
|
|
&ecx448_asn1_meth,
|
|
#endif
|
|
#ifndef OPENSSL_NO_EC
|
|
&ed25519_asn1_meth,
|
|
&ed448_asn1_meth,
|
|
#endif
|
|
#ifndef OPENSSL_NO_SM2
|
|
&sm2_asn1_meth,
|
|
#endif
|
|
};
|
|
|