1e1051a39Sopenharmony_ci/*
2e1051a39Sopenharmony_ci * WARNING: do not edit!
3e1051a39Sopenharmony_ci * Generated by objxref.pl
4e1051a39Sopenharmony_ci *
5e1051a39Sopenharmony_ci * Copyright 1998-2021 The OpenSSL Project Authors. All Rights Reserved.
6e1051a39Sopenharmony_ci *
7e1051a39Sopenharmony_ci * Licensed under the Apache License 2.0 (the "License").  You may not use
8e1051a39Sopenharmony_ci * this file except in compliance with the License.  You can obtain a copy
9e1051a39Sopenharmony_ci * in the file LICENSE in the source distribution or at
10e1051a39Sopenharmony_ci * https://www.openssl.org/source/license.html
11e1051a39Sopenharmony_ci */
12e1051a39Sopenharmony_ci
13e1051a39Sopenharmony_ci
14e1051a39Sopenharmony_citypedef struct {
15e1051a39Sopenharmony_ci    int sign_id;
16e1051a39Sopenharmony_ci    int hash_id;
17e1051a39Sopenharmony_ci    int pkey_id;
18e1051a39Sopenharmony_ci} nid_triple;
19e1051a39Sopenharmony_ci
20e1051a39Sopenharmony_ciDEFINE_STACK_OF(nid_triple)
21e1051a39Sopenharmony_ci
22e1051a39Sopenharmony_cistatic const nid_triple sigoid_srt[] = {
23e1051a39Sopenharmony_ci    {NID_md2WithRSAEncryption, NID_md2, NID_rsaEncryption},
24e1051a39Sopenharmony_ci    {NID_md5WithRSAEncryption, NID_md5, NID_rsaEncryption},
25e1051a39Sopenharmony_ci    {NID_shaWithRSAEncryption, NID_sha, NID_rsaEncryption},
26e1051a39Sopenharmony_ci    {NID_sha1WithRSAEncryption, NID_sha1, NID_rsaEncryption},
27e1051a39Sopenharmony_ci    {NID_dsaWithSHA, NID_sha, NID_dsa},
28e1051a39Sopenharmony_ci    {NID_dsaWithSHA1_2, NID_sha1, NID_dsa_2},
29e1051a39Sopenharmony_ci    {NID_mdc2WithRSA, NID_mdc2, NID_rsaEncryption},
30e1051a39Sopenharmony_ci    {NID_md5WithRSA, NID_md5, NID_rsa},
31e1051a39Sopenharmony_ci    {NID_dsaWithSHA1, NID_sha1, NID_dsa},
32e1051a39Sopenharmony_ci    {NID_sha1WithRSA, NID_sha1, NID_rsa},
33e1051a39Sopenharmony_ci    {NID_ripemd160WithRSA, NID_ripemd160, NID_rsaEncryption},
34e1051a39Sopenharmony_ci    {NID_md4WithRSAEncryption, NID_md4, NID_rsaEncryption},
35e1051a39Sopenharmony_ci    {NID_ecdsa_with_SHA1, NID_sha1, NID_X9_62_id_ecPublicKey},
36e1051a39Sopenharmony_ci    {NID_sha256WithRSAEncryption, NID_sha256, NID_rsaEncryption},
37e1051a39Sopenharmony_ci    {NID_sha384WithRSAEncryption, NID_sha384, NID_rsaEncryption},
38e1051a39Sopenharmony_ci    {NID_sha512WithRSAEncryption, NID_sha512, NID_rsaEncryption},
39e1051a39Sopenharmony_ci    {NID_sha224WithRSAEncryption, NID_sha224, NID_rsaEncryption},
40e1051a39Sopenharmony_ci    {NID_ecdsa_with_Recommended, NID_undef, NID_X9_62_id_ecPublicKey},
41e1051a39Sopenharmony_ci    {NID_ecdsa_with_Specified, NID_undef, NID_X9_62_id_ecPublicKey},
42e1051a39Sopenharmony_ci    {NID_ecdsa_with_SHA224, NID_sha224, NID_X9_62_id_ecPublicKey},
43e1051a39Sopenharmony_ci    {NID_ecdsa_with_SHA256, NID_sha256, NID_X9_62_id_ecPublicKey},
44e1051a39Sopenharmony_ci    {NID_ecdsa_with_SHA384, NID_sha384, NID_X9_62_id_ecPublicKey},
45e1051a39Sopenharmony_ci    {NID_ecdsa_with_SHA512, NID_sha512, NID_X9_62_id_ecPublicKey},
46e1051a39Sopenharmony_ci    {NID_dsa_with_SHA224, NID_sha224, NID_dsa},
47e1051a39Sopenharmony_ci    {NID_dsa_with_SHA256, NID_sha256, NID_dsa},
48e1051a39Sopenharmony_ci    {NID_id_GostR3411_94_with_GostR3410_2001, NID_id_GostR3411_94,
49e1051a39Sopenharmony_ci     NID_id_GostR3410_2001},
50e1051a39Sopenharmony_ci    {NID_id_GostR3411_94_with_GostR3410_94, NID_id_GostR3411_94,
51e1051a39Sopenharmony_ci     NID_id_GostR3410_94},
52e1051a39Sopenharmony_ci    {NID_id_GostR3411_94_with_GostR3410_94_cc, NID_id_GostR3411_94,
53e1051a39Sopenharmony_ci     NID_id_GostR3410_94_cc},
54e1051a39Sopenharmony_ci    {NID_id_GostR3411_94_with_GostR3410_2001_cc, NID_id_GostR3411_94,
55e1051a39Sopenharmony_ci     NID_id_GostR3410_2001_cc},
56e1051a39Sopenharmony_ci    {NID_rsassaPss, NID_undef, NID_rsassaPss},
57e1051a39Sopenharmony_ci    {NID_dhSinglePass_stdDH_sha1kdf_scheme, NID_sha1, NID_dh_std_kdf},
58e1051a39Sopenharmony_ci    {NID_dhSinglePass_stdDH_sha224kdf_scheme, NID_sha224, NID_dh_std_kdf},
59e1051a39Sopenharmony_ci    {NID_dhSinglePass_stdDH_sha256kdf_scheme, NID_sha256, NID_dh_std_kdf},
60e1051a39Sopenharmony_ci    {NID_dhSinglePass_stdDH_sha384kdf_scheme, NID_sha384, NID_dh_std_kdf},
61e1051a39Sopenharmony_ci    {NID_dhSinglePass_stdDH_sha512kdf_scheme, NID_sha512, NID_dh_std_kdf},
62e1051a39Sopenharmony_ci    {NID_dhSinglePass_cofactorDH_sha1kdf_scheme, NID_sha1,
63e1051a39Sopenharmony_ci     NID_dh_cofactor_kdf},
64e1051a39Sopenharmony_ci    {NID_dhSinglePass_cofactorDH_sha224kdf_scheme, NID_sha224,
65e1051a39Sopenharmony_ci     NID_dh_cofactor_kdf},
66e1051a39Sopenharmony_ci    {NID_dhSinglePass_cofactorDH_sha256kdf_scheme, NID_sha256,
67e1051a39Sopenharmony_ci     NID_dh_cofactor_kdf},
68e1051a39Sopenharmony_ci    {NID_dhSinglePass_cofactorDH_sha384kdf_scheme, NID_sha384,
69e1051a39Sopenharmony_ci     NID_dh_cofactor_kdf},
70e1051a39Sopenharmony_ci    {NID_dhSinglePass_cofactorDH_sha512kdf_scheme, NID_sha512,
71e1051a39Sopenharmony_ci     NID_dh_cofactor_kdf},
72e1051a39Sopenharmony_ci    {NID_id_tc26_signwithdigest_gost3410_2012_256, NID_id_GostR3411_2012_256,
73e1051a39Sopenharmony_ci     NID_id_GostR3410_2012_256},
74e1051a39Sopenharmony_ci    {NID_id_tc26_signwithdigest_gost3410_2012_512, NID_id_GostR3411_2012_512,
75e1051a39Sopenharmony_ci     NID_id_GostR3410_2012_512},
76e1051a39Sopenharmony_ci    {NID_ED25519, NID_undef, NID_ED25519},
77e1051a39Sopenharmony_ci    {NID_ED448, NID_undef, NID_ED448},
78e1051a39Sopenharmony_ci    {NID_RSA_SHA3_224, NID_sha3_224, NID_rsaEncryption},
79e1051a39Sopenharmony_ci    {NID_RSA_SHA3_256, NID_sha3_256, NID_rsaEncryption},
80e1051a39Sopenharmony_ci    {NID_RSA_SHA3_384, NID_sha3_384, NID_rsaEncryption},
81e1051a39Sopenharmony_ci    {NID_RSA_SHA3_512, NID_sha3_512, NID_rsaEncryption},
82e1051a39Sopenharmony_ci    {NID_SM2_with_SM3, NID_sm3, NID_sm2},
83e1051a39Sopenharmony_ci};
84e1051a39Sopenharmony_ci
85e1051a39Sopenharmony_cistatic const nid_triple *const sigoid_srt_xref[] = {
86e1051a39Sopenharmony_ci    &sigoid_srt[0],
87e1051a39Sopenharmony_ci    &sigoid_srt[1],
88e1051a39Sopenharmony_ci    &sigoid_srt[7],
89e1051a39Sopenharmony_ci    &sigoid_srt[2],
90e1051a39Sopenharmony_ci    &sigoid_srt[4],
91e1051a39Sopenharmony_ci    &sigoid_srt[3],
92e1051a39Sopenharmony_ci    &sigoid_srt[9],
93e1051a39Sopenharmony_ci    &sigoid_srt[5],
94e1051a39Sopenharmony_ci    &sigoid_srt[8],
95e1051a39Sopenharmony_ci    &sigoid_srt[12],
96e1051a39Sopenharmony_ci    &sigoid_srt[30],
97e1051a39Sopenharmony_ci    &sigoid_srt[35],
98e1051a39Sopenharmony_ci    &sigoid_srt[6],
99e1051a39Sopenharmony_ci    &sigoid_srt[10],
100e1051a39Sopenharmony_ci    &sigoid_srt[11],
101e1051a39Sopenharmony_ci    &sigoid_srt[13],
102e1051a39Sopenharmony_ci    &sigoid_srt[24],
103e1051a39Sopenharmony_ci    &sigoid_srt[20],
104e1051a39Sopenharmony_ci    &sigoid_srt[32],
105e1051a39Sopenharmony_ci    &sigoid_srt[37],
106e1051a39Sopenharmony_ci    &sigoid_srt[14],
107e1051a39Sopenharmony_ci    &sigoid_srt[21],
108e1051a39Sopenharmony_ci    &sigoid_srt[33],
109e1051a39Sopenharmony_ci    &sigoid_srt[38],
110e1051a39Sopenharmony_ci    &sigoid_srt[15],
111e1051a39Sopenharmony_ci    &sigoid_srt[22],
112e1051a39Sopenharmony_ci    &sigoid_srt[34],
113e1051a39Sopenharmony_ci    &sigoid_srt[39],
114e1051a39Sopenharmony_ci    &sigoid_srt[16],
115e1051a39Sopenharmony_ci    &sigoid_srt[23],
116e1051a39Sopenharmony_ci    &sigoid_srt[19],
117e1051a39Sopenharmony_ci    &sigoid_srt[31],
118e1051a39Sopenharmony_ci    &sigoid_srt[36],
119e1051a39Sopenharmony_ci    &sigoid_srt[25],
120e1051a39Sopenharmony_ci    &sigoid_srt[26],
121e1051a39Sopenharmony_ci    &sigoid_srt[27],
122e1051a39Sopenharmony_ci    &sigoid_srt[28],
123e1051a39Sopenharmony_ci    &sigoid_srt[40],
124e1051a39Sopenharmony_ci    &sigoid_srt[41],
125e1051a39Sopenharmony_ci    &sigoid_srt[44],
126e1051a39Sopenharmony_ci    &sigoid_srt[45],
127e1051a39Sopenharmony_ci    &sigoid_srt[46],
128e1051a39Sopenharmony_ci    &sigoid_srt[47],
129e1051a39Sopenharmony_ci    &sigoid_srt[48],
130e1051a39Sopenharmony_ci};
131