]>
Commit | Line | Data |
---|---|---|
2c166171 | 1 | /* |
3c2bdd7d | 2 | * Copyright 2006-2021 The OpenSSL Project Authors. All Rights Reserved. |
2c166171 | 3 | * |
365a2d99 | 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
2c166171 RL |
5 | * this file except in compliance with the License. You can obtain a copy |
6 | * in the file LICENSE in the source distribution or at | |
7 | * https://www.openssl.org/source/license.html | |
8 | */ | |
9 | ||
568b9cdc | 10 | /* |
46f4e1be | 11 | * This table MUST be kept in ascending order of the NID each method |
568b9cdc DSH |
12 | * represents (corresponding to the pkey_id field) as OBJ_bsearch |
13 | * is used to search it. | |
14 | */ | |
2c166171 | 15 | static const EVP_PKEY_ASN1_METHOD *standard_methods[] = { |
adf7e6d1 SL |
16 | &ossl_rsa_asn1_meths[0], |
17 | &ossl_rsa_asn1_meths[1], | |
2c166171 | 18 | #ifndef OPENSSL_NO_DH |
adf7e6d1 | 19 | &ossl_dh_asn1_meth, |
2c166171 RL |
20 | #endif |
21 | #ifndef OPENSSL_NO_DSA | |
adf7e6d1 SL |
22 | &ossl_dsa_asn1_meths[0], |
23 | &ossl_dsa_asn1_meths[1], | |
24 | &ossl_dsa_asn1_meths[2], | |
25 | &ossl_dsa_asn1_meths[3], | |
26 | &ossl_dsa_asn1_meths[4], | |
2c166171 RL |
27 | #endif |
28 | #ifndef OPENSSL_NO_EC | |
adf7e6d1 | 29 | &ossl_eckey_asn1_meth, |
2c166171 | 30 | #endif |
adf7e6d1 | 31 | &ossl_rsa_pss_asn1_meth, |
2c166171 | 32 | #ifndef OPENSSL_NO_DH |
adf7e6d1 | 33 | &ossl_dhx_asn1_meth, |
2c166171 | 34 | #endif |
4032cd9a | 35 | #ifndef OPENSSL_NO_ECX |
adf7e6d1 SL |
36 | &ossl_ecx25519_asn1_meth, |
37 | &ossl_ecx448_asn1_meth, | |
adf7e6d1 SL |
38 | &ossl_ed25519_asn1_meth, |
39 | &ossl_ed448_asn1_meth, | |
a13727e5 | 40 | #endif |
ddb634fe | 41 | #ifndef OPENSSL_NO_SM2 |
adf7e6d1 | 42 | &ossl_sm2_asn1_meth, |
ddb634fe | 43 | #endif |
2c166171 RL |
44 | }; |
45 |