1267843Sdelphij/*
2267843Sdelphij * WARNING: do not edit!
3267843Sdelphij * Generated by objxref.pl
4284778Sdelphij *
5267843Sdelphij * Copyright 1998-2021 The OpenSSL Project Authors. All Rights Reserved.
6284778Sdelphij *
7267843Sdelphij * Licensed under the Apache License 2.0 (the "License").  You may not use
8267843Sdelphij * this file except in compliance with the License.  You can obtain a copy
9267843Sdelphij * in the file LICENSE in the source distribution or at
10267843Sdelphij * https://www.openssl.org/source/license.html
11267843Sdelphij */
12267843Sdelphij
13267843Sdelphij
14267843Sdelphijtypedef struct {
15267843Sdelphij    int sign_id;
16267843Sdelphij    int hash_id;
17267843Sdelphij    int pkey_id;
18267843Sdelphij} nid_triple;
19267843Sdelphij
20267843SdelphijDEFINE_STACK_OF(nid_triple)
21267843Sdelphij
22267843Sdelphijstatic const nid_triple sigoid_srt[] = {
23267843Sdelphij    {NID_md2WithRSAEncryption, NID_md2, NID_rsaEncryption},
24267843Sdelphij    {NID_md5WithRSAEncryption, NID_md5, NID_rsaEncryption},
25267843Sdelphij    {NID_shaWithRSAEncryption, NID_sha, NID_rsaEncryption},
26267843Sdelphij    {NID_sha1WithRSAEncryption, NID_sha1, NID_rsaEncryption},
27267843Sdelphij    {NID_dsaWithSHA, NID_sha, NID_dsa},
28267843Sdelphij    {NID_dsaWithSHA1_2, NID_sha1, NID_dsa_2},
29267843Sdelphij    {NID_mdc2WithRSA, NID_mdc2, NID_rsaEncryption},
30267843Sdelphij    {NID_md5WithRSA, NID_md5, NID_rsa},
31267843Sdelphij    {NID_dsaWithSHA1, NID_sha1, NID_dsa},
32267843Sdelphij    {NID_sha1WithRSA, NID_sha1, NID_rsa},
33267843Sdelphij    {NID_ripemd160WithRSA, NID_ripemd160, NID_rsaEncryption},
34267843Sdelphij    {NID_md4WithRSAEncryption, NID_md4, NID_rsaEncryption},
35267843Sdelphij    {NID_ecdsa_with_SHA1, NID_sha1, NID_X9_62_id_ecPublicKey},
36267843Sdelphij    {NID_sha256WithRSAEncryption, NID_sha256, NID_rsaEncryption},
37267843Sdelphij    {NID_sha384WithRSAEncryption, NID_sha384, NID_rsaEncryption},
38267843Sdelphij    {NID_sha512WithRSAEncryption, NID_sha512, NID_rsaEncryption},
39267843Sdelphij    {NID_sha224WithRSAEncryption, NID_sha224, NID_rsaEncryption},
40267843Sdelphij    {NID_ecdsa_with_Recommended, NID_undef, NID_X9_62_id_ecPublicKey},
41267843Sdelphij    {NID_ecdsa_with_Specified, NID_undef, NID_X9_62_id_ecPublicKey},
42267843Sdelphij    {NID_ecdsa_with_SHA224, NID_sha224, NID_X9_62_id_ecPublicKey},
43267843Sdelphij    {NID_ecdsa_with_SHA256, NID_sha256, NID_X9_62_id_ecPublicKey},
44267843Sdelphij    {NID_ecdsa_with_SHA384, NID_sha384, NID_X9_62_id_ecPublicKey},
45267843Sdelphij    {NID_ecdsa_with_SHA512, NID_sha512, NID_X9_62_id_ecPublicKey},
46267843Sdelphij    {NID_dsa_with_SHA224, NID_sha224, NID_dsa},
47267843Sdelphij    {NID_dsa_with_SHA256, NID_sha256, NID_dsa},
48267843Sdelphij    {NID_id_GostR3411_94_with_GostR3410_2001, NID_id_GostR3411_94,
49267843Sdelphij     NID_id_GostR3410_2001},
50267843Sdelphij    {NID_id_GostR3411_94_with_GostR3410_94, NID_id_GostR3411_94,
51267843Sdelphij     NID_id_GostR3410_94},
52267843Sdelphij    {NID_id_GostR3411_94_with_GostR3410_94_cc, NID_id_GostR3411_94,
53267843Sdelphij     NID_id_GostR3410_94_cc},
54267843Sdelphij    {NID_id_GostR3411_94_with_GostR3410_2001_cc, NID_id_GostR3411_94,
55267843Sdelphij     NID_id_GostR3410_2001_cc},
56267843Sdelphij    {NID_rsassaPss, NID_undef, NID_rsassaPss},
57267843Sdelphij    {NID_dhSinglePass_stdDH_sha1kdf_scheme, NID_sha1, NID_dh_std_kdf},
58267843Sdelphij    {NID_dhSinglePass_stdDH_sha224kdf_scheme, NID_sha224, NID_dh_std_kdf},
59267843Sdelphij    {NID_dhSinglePass_stdDH_sha256kdf_scheme, NID_sha256, NID_dh_std_kdf},
60267843Sdelphij    {NID_dhSinglePass_stdDH_sha384kdf_scheme, NID_sha384, NID_dh_std_kdf},
61267843Sdelphij    {NID_dhSinglePass_stdDH_sha512kdf_scheme, NID_sha512, NID_dh_std_kdf},
62267843Sdelphij    {NID_dhSinglePass_cofactorDH_sha1kdf_scheme, NID_sha1,
63267843Sdelphij     NID_dh_cofactor_kdf},
64267843Sdelphij    {NID_dhSinglePass_cofactorDH_sha224kdf_scheme, NID_sha224,
65267843Sdelphij     NID_dh_cofactor_kdf},
66267843Sdelphij    {NID_dhSinglePass_cofactorDH_sha256kdf_scheme, NID_sha256,
67267843Sdelphij     NID_dh_cofactor_kdf},
68267843Sdelphij    {NID_dhSinglePass_cofactorDH_sha384kdf_scheme, NID_sha384,
69267843Sdelphij     NID_dh_cofactor_kdf},
70267843Sdelphij    {NID_dhSinglePass_cofactorDH_sha512kdf_scheme, NID_sha512,
71267843Sdelphij     NID_dh_cofactor_kdf},
72267843Sdelphij    {NID_id_tc26_signwithdigest_gost3410_2012_256, NID_id_GostR3411_2012_256,
73267843Sdelphij     NID_id_GostR3410_2012_256},
74267843Sdelphij    {NID_id_tc26_signwithdigest_gost3410_2012_512, NID_id_GostR3411_2012_512,
75267843Sdelphij     NID_id_GostR3410_2012_512},
76267843Sdelphij    {NID_ED25519, NID_undef, NID_ED25519},
77267843Sdelphij    {NID_ED448, NID_undef, NID_ED448},
78267843Sdelphij    {NID_RSA_SHA3_224, NID_sha3_224, NID_rsaEncryption},
79267843Sdelphij    {NID_RSA_SHA3_256, NID_sha3_256, NID_rsaEncryption},
80267843Sdelphij    {NID_RSA_SHA3_384, NID_sha3_384, NID_rsaEncryption},
81267843Sdelphij    {NID_RSA_SHA3_512, NID_sha3_512, NID_rsaEncryption},
82267843Sdelphij    {NID_SM2_with_SM3, NID_sm3, NID_sm2},
83267843Sdelphij};
84267843Sdelphij
85267843Sdelphijstatic const nid_triple *const sigoid_srt_xref[] = {
86267843Sdelphij    &sigoid_srt[0],
87267843Sdelphij    &sigoid_srt[1],
88267843Sdelphij    &sigoid_srt[7],
89267843Sdelphij    &sigoid_srt[2],
90267843Sdelphij    &sigoid_srt[4],
91267843Sdelphij    &sigoid_srt[3],
92267843Sdelphij    &sigoid_srt[9],
93267843Sdelphij    &sigoid_srt[5],
94267843Sdelphij    &sigoid_srt[8],
95267843Sdelphij    &sigoid_srt[12],
96267843Sdelphij    &sigoid_srt[30],
97267843Sdelphij    &sigoid_srt[35],
98267843Sdelphij    &sigoid_srt[6],
99267843Sdelphij    &sigoid_srt[10],
100267843Sdelphij    &sigoid_srt[11],
101267843Sdelphij    &sigoid_srt[13],
102267843Sdelphij    &sigoid_srt[24],
103267843Sdelphij    &sigoid_srt[20],
104267843Sdelphij    &sigoid_srt[32],
105267843Sdelphij    &sigoid_srt[37],
106267843Sdelphij    &sigoid_srt[14],
107267843Sdelphij    &sigoid_srt[21],
108267843Sdelphij    &sigoid_srt[33],
109267843Sdelphij    &sigoid_srt[38],
110267843Sdelphij    &sigoid_srt[15],
111267843Sdelphij    &sigoid_srt[22],
112267843Sdelphij    &sigoid_srt[34],
113267843Sdelphij    &sigoid_srt[39],
114267843Sdelphij    &sigoid_srt[16],
115267843Sdelphij    &sigoid_srt[23],
116267843Sdelphij    &sigoid_srt[19],
117267843Sdelphij    &sigoid_srt[31],
118267843Sdelphij    &sigoid_srt[36],
119267843Sdelphij    &sigoid_srt[25],
120267843Sdelphij    &sigoid_srt[26],
121267843Sdelphij    &sigoid_srt[27],
122267843Sdelphij    &sigoid_srt[28],
123267843Sdelphij    &sigoid_srt[40],
124267843Sdelphij    &sigoid_srt[41],
125267843Sdelphij    &sigoid_srt[44],
126267843Sdelphij    &sigoid_srt[45],
127267843Sdelphij    &sigoid_srt[46],
128267843Sdelphij    &sigoid_srt[47],
129267843Sdelphij    &sigoid_srt[48],
130267843Sdelphij};
131267843Sdelphij