1 /* $OpenBSD: obj_xref.h,v 1.5 2021/05/12 10:24:39 inoguchi Exp $ */ 2 /* AUTOGENERATED BY objxref.pl, DO NOT EDIT */ 3 4 __BEGIN_HIDDEN_DECLS 5 6 typedef struct 7 { 8 int sign_id; 9 int hash_id; 10 int pkey_id; 11 } nid_triple; 12 13 static const nid_triple sigoid_srt[] = 14 { 15 {NID_md2WithRSAEncryption, NID_md2, NID_rsaEncryption}, 16 {NID_md5WithRSAEncryption, NID_md5, NID_rsaEncryption}, 17 {NID_shaWithRSAEncryption, NID_sha, NID_rsaEncryption}, 18 {NID_sha1WithRSAEncryption, NID_sha1, NID_rsaEncryption}, 19 {NID_dsaWithSHA, NID_sha, NID_dsa}, 20 {NID_dsaWithSHA1_2, NID_sha1, NID_dsa_2}, 21 {NID_mdc2WithRSA, NID_mdc2, NID_rsaEncryption}, 22 {NID_md5WithRSA, NID_md5, NID_rsa}, 23 {NID_dsaWithSHA1, NID_sha1, NID_dsa}, 24 {NID_sha1WithRSA, NID_sha1, NID_rsa}, 25 {NID_ripemd160WithRSA, NID_ripemd160, NID_rsaEncryption}, 26 {NID_md4WithRSAEncryption, NID_md4, NID_rsaEncryption}, 27 {NID_ecdsa_with_SHA1, NID_sha1, NID_X9_62_id_ecPublicKey}, 28 {NID_sha256WithRSAEncryption, NID_sha256, NID_rsaEncryption}, 29 {NID_sha384WithRSAEncryption, NID_sha384, NID_rsaEncryption}, 30 {NID_sha512WithRSAEncryption, NID_sha512, NID_rsaEncryption}, 31 {NID_sha224WithRSAEncryption, NID_sha224, NID_rsaEncryption}, 32 {NID_ecdsa_with_Recommended, NID_undef, NID_X9_62_id_ecPublicKey}, 33 {NID_ecdsa_with_Specified, NID_undef, NID_X9_62_id_ecPublicKey}, 34 {NID_ecdsa_with_SHA224, NID_sha224, NID_X9_62_id_ecPublicKey}, 35 {NID_ecdsa_with_SHA256, NID_sha256, NID_X9_62_id_ecPublicKey}, 36 {NID_ecdsa_with_SHA384, NID_sha384, NID_X9_62_id_ecPublicKey}, 37 {NID_ecdsa_with_SHA512, NID_sha512, NID_X9_62_id_ecPublicKey}, 38 {NID_dsa_with_SHA224, NID_sha224, NID_dsa}, 39 {NID_dsa_with_SHA256, NID_sha256, NID_dsa}, 40 {NID_id_GostR3411_94_with_GostR3410_2001, NID_id_GostR3411_94, NID_id_GostR3410_2001}, 41 {NID_id_GostR3411_94_with_GostR3410_94, NID_id_GostR3411_94, NID_id_GostR3410_94}, 42 {NID_id_GostR3411_94_with_GostR3410_94_cc, NID_id_GostR3411_94, NID_id_GostR3410_94_cc}, 43 {NID_id_GostR3411_94_with_GostR3410_2001_cc, NID_id_GostR3411_94, NID_id_GostR3410_2001_cc}, 44 {NID_rsassaPss, NID_undef, NID_rsaEncryption}, 45 {NID_id_tc26_signwithdigest_gost3410_2012_256, NID_id_tc26_gost3411_2012_256, NID_id_GostR3410_2001}, 46 {NID_id_tc26_signwithdigest_gost3410_2012_512, NID_id_tc26_gost3411_2012_512, NID_id_GostR3410_2001}, 47 {NID_dhSinglePass_stdDH_sha1kdf_scheme, NID_sha1, NID_dh_std_kdf}, 48 {NID_dhSinglePass_stdDH_sha224kdf_scheme, NID_sha224, NID_dh_std_kdf}, 49 {NID_dhSinglePass_stdDH_sha256kdf_scheme, NID_sha256, NID_dh_std_kdf}, 50 {NID_dhSinglePass_stdDH_sha384kdf_scheme, NID_sha384, NID_dh_std_kdf}, 51 {NID_dhSinglePass_stdDH_sha512kdf_scheme, NID_sha512, NID_dh_std_kdf}, 52 {NID_dhSinglePass_cofactorDH_sha1kdf_scheme, NID_sha1, NID_dh_cofactor_kdf}, 53 {NID_dhSinglePass_cofactorDH_sha224kdf_scheme, NID_sha224, NID_dh_cofactor_kdf}, 54 {NID_dhSinglePass_cofactorDH_sha256kdf_scheme, NID_sha256, NID_dh_cofactor_kdf}, 55 {NID_dhSinglePass_cofactorDH_sha384kdf_scheme, NID_sha384, NID_dh_cofactor_kdf}, 56 {NID_dhSinglePass_cofactorDH_sha512kdf_scheme, NID_sha512, NID_dh_cofactor_kdf}, 57 }; 58 59 static const nid_triple * const sigoid_srt_xref[] = 60 { 61 &sigoid_srt[29], 62 &sigoid_srt[17], 63 &sigoid_srt[18], 64 &sigoid_srt[0], 65 &sigoid_srt[1], 66 &sigoid_srt[7], 67 &sigoid_srt[2], 68 &sigoid_srt[4], 69 &sigoid_srt[3], 70 &sigoid_srt[9], 71 &sigoid_srt[5], 72 &sigoid_srt[8], 73 &sigoid_srt[12], 74 &sigoid_srt[32], 75 &sigoid_srt[37], 76 &sigoid_srt[6], 77 &sigoid_srt[10], 78 &sigoid_srt[11], 79 &sigoid_srt[13], 80 &sigoid_srt[24], 81 &sigoid_srt[20], 82 &sigoid_srt[34], 83 &sigoid_srt[39], 84 &sigoid_srt[14], 85 &sigoid_srt[21], 86 &sigoid_srt[35], 87 &sigoid_srt[40], 88 &sigoid_srt[15], 89 &sigoid_srt[22], 90 &sigoid_srt[36], 91 &sigoid_srt[41], 92 &sigoid_srt[16], 93 &sigoid_srt[23], 94 &sigoid_srt[19], 95 &sigoid_srt[33], 96 &sigoid_srt[38], 97 &sigoid_srt[25], 98 &sigoid_srt[26], 99 &sigoid_srt[27], 100 &sigoid_srt[28], 101 &sigoid_srt[30], 102 &sigoid_srt[31], 103 }; 104 105 __END_HIDDEN_DECLS 106