1 /* 2 * WARNING: do not edit! 3 * Generated by Makefile from providers/common/der/der_ec_gen.c.in 4 * 5 * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. 6 * 7 * Licensed under the Apache License 2.0 (the "License"). You may not use 8 * this file except in compliance with the License. You can obtain a copy 9 * in the file LICENSE in the source distribution or at 10 * https://www.openssl.org/source/license.html 11 */ 12 13 #include "prov/der_ec.h" 14 15 /* Well known OIDs precompiled */ 16 17 /* 18 * ecdsa-with-SHA1 OBJECT IDENTIFIER ::= { id-ecSigType 1 } 19 */ 20 const unsigned char ossl_der_oid_ecdsa_with_SHA1[DER_OID_SZ_ecdsa_with_SHA1] = { 21 DER_OID_V_ecdsa_with_SHA1 22 }; 23 24 /* 25 * id-ecPublicKey OBJECT IDENTIFIER ::= { id-publicKeyType 1 } 26 */ 27 const unsigned char ossl_der_oid_id_ecPublicKey[DER_OID_SZ_id_ecPublicKey] = { 28 DER_OID_V_id_ecPublicKey 29 }; 30 31 /* 32 * c2pnb163v1 OBJECT IDENTIFIER ::= { c-TwoCurve 1 } 33 */ 34 const unsigned char ossl_der_oid_c2pnb163v1[DER_OID_SZ_c2pnb163v1] = { 35 DER_OID_V_c2pnb163v1 36 }; 37 38 /* 39 * c2pnb163v2 OBJECT IDENTIFIER ::= { c-TwoCurve 2 } 40 */ 41 const unsigned char ossl_der_oid_c2pnb163v2[DER_OID_SZ_c2pnb163v2] = { 42 DER_OID_V_c2pnb163v2 43 }; 44 45 /* 46 * c2pnb163v3 OBJECT IDENTIFIER ::= { c-TwoCurve 3 } 47 */ 48 const unsigned char ossl_der_oid_c2pnb163v3[DER_OID_SZ_c2pnb163v3] = { 49 DER_OID_V_c2pnb163v3 50 }; 51 52 /* 53 * c2pnb176w1 OBJECT IDENTIFIER ::= { c-TwoCurve 4 } 54 */ 55 const unsigned char ossl_der_oid_c2pnb176w1[DER_OID_SZ_c2pnb176w1] = { 56 DER_OID_V_c2pnb176w1 57 }; 58 59 /* 60 * c2tnb191v1 OBJECT IDENTIFIER ::= { c-TwoCurve 5 } 61 */ 62 const unsigned char ossl_der_oid_c2tnb191v1[DER_OID_SZ_c2tnb191v1] = { 63 DER_OID_V_c2tnb191v1 64 }; 65 66 /* 67 * c2tnb191v2 OBJECT IDENTIFIER ::= { c-TwoCurve 6 } 68 */ 69 const unsigned char ossl_der_oid_c2tnb191v2[DER_OID_SZ_c2tnb191v2] = { 70 DER_OID_V_c2tnb191v2 71 }; 72 73 /* 74 * c2tnb191v3 OBJECT IDENTIFIER ::= { c-TwoCurve 7 } 75 */ 76 const unsigned char ossl_der_oid_c2tnb191v3[DER_OID_SZ_c2tnb191v3] = { 77 DER_OID_V_c2tnb191v3 78 }; 79 80 /* 81 * c2onb191v4 OBJECT IDENTIFIER ::= { c-TwoCurve 8 } 82 */ 83 const unsigned char ossl_der_oid_c2onb191v4[DER_OID_SZ_c2onb191v4] = { 84 DER_OID_V_c2onb191v4 85 }; 86 87 /* 88 * c2onb191v5 OBJECT IDENTIFIER ::= { c-TwoCurve 9 } 89 */ 90 const unsigned char ossl_der_oid_c2onb191v5[DER_OID_SZ_c2onb191v5] = { 91 DER_OID_V_c2onb191v5 92 }; 93 94 /* 95 * c2pnb208w1 OBJECT IDENTIFIER ::= { c-TwoCurve 10 } 96 */ 97 const unsigned char ossl_der_oid_c2pnb208w1[DER_OID_SZ_c2pnb208w1] = { 98 DER_OID_V_c2pnb208w1 99 }; 100 101 /* 102 * c2tnb239v1 OBJECT IDENTIFIER ::= { c-TwoCurve 11 } 103 */ 104 const unsigned char ossl_der_oid_c2tnb239v1[DER_OID_SZ_c2tnb239v1] = { 105 DER_OID_V_c2tnb239v1 106 }; 107 108 /* 109 * c2tnb239v2 OBJECT IDENTIFIER ::= { c-TwoCurve 12 } 110 */ 111 const unsigned char ossl_der_oid_c2tnb239v2[DER_OID_SZ_c2tnb239v2] = { 112 DER_OID_V_c2tnb239v2 113 }; 114 115 /* 116 * c2tnb239v3 OBJECT IDENTIFIER ::= { c-TwoCurve 13 } 117 */ 118 const unsigned char ossl_der_oid_c2tnb239v3[DER_OID_SZ_c2tnb239v3] = { 119 DER_OID_V_c2tnb239v3 120 }; 121 122 /* 123 * c2onb239v4 OBJECT IDENTIFIER ::= { c-TwoCurve 14 } 124 */ 125 const unsigned char ossl_der_oid_c2onb239v4[DER_OID_SZ_c2onb239v4] = { 126 DER_OID_V_c2onb239v4 127 }; 128 129 /* 130 * c2onb239v5 OBJECT IDENTIFIER ::= { c-TwoCurve 15 } 131 */ 132 const unsigned char ossl_der_oid_c2onb239v5[DER_OID_SZ_c2onb239v5] = { 133 DER_OID_V_c2onb239v5 134 }; 135 136 /* 137 * c2pnb272w1 OBJECT IDENTIFIER ::= { c-TwoCurve 16 } 138 */ 139 const unsigned char ossl_der_oid_c2pnb272w1[DER_OID_SZ_c2pnb272w1] = { 140 DER_OID_V_c2pnb272w1 141 }; 142 143 /* 144 * c2pnb304w1 OBJECT IDENTIFIER ::= { c-TwoCurve 17 } 145 */ 146 const unsigned char ossl_der_oid_c2pnb304w1[DER_OID_SZ_c2pnb304w1] = { 147 DER_OID_V_c2pnb304w1 148 }; 149 150 /* 151 * c2tnb359v1 OBJECT IDENTIFIER ::= { c-TwoCurve 18 } 152 */ 153 const unsigned char ossl_der_oid_c2tnb359v1[DER_OID_SZ_c2tnb359v1] = { 154 DER_OID_V_c2tnb359v1 155 }; 156 157 /* 158 * c2pnb368w1 OBJECT IDENTIFIER ::= { c-TwoCurve 19 } 159 */ 160 const unsigned char ossl_der_oid_c2pnb368w1[DER_OID_SZ_c2pnb368w1] = { 161 DER_OID_V_c2pnb368w1 162 }; 163 164 /* 165 * c2tnb431r1 OBJECT IDENTIFIER ::= { c-TwoCurve 20 } 166 */ 167 const unsigned char ossl_der_oid_c2tnb431r1[DER_OID_SZ_c2tnb431r1] = { 168 DER_OID_V_c2tnb431r1 169 }; 170 171 /* 172 * prime192v1 OBJECT IDENTIFIER ::= { primeCurve 1 } 173 */ 174 const unsigned char ossl_der_oid_prime192v1[DER_OID_SZ_prime192v1] = { 175 DER_OID_V_prime192v1 176 }; 177 178 /* 179 * prime192v2 OBJECT IDENTIFIER ::= { primeCurve 2 } 180 */ 181 const unsigned char ossl_der_oid_prime192v2[DER_OID_SZ_prime192v2] = { 182 DER_OID_V_prime192v2 183 }; 184 185 /* 186 * prime192v3 OBJECT IDENTIFIER ::= { primeCurve 3 } 187 */ 188 const unsigned char ossl_der_oid_prime192v3[DER_OID_SZ_prime192v3] = { 189 DER_OID_V_prime192v3 190 }; 191 192 /* 193 * prime239v1 OBJECT IDENTIFIER ::= { primeCurve 4 } 194 */ 195 const unsigned char ossl_der_oid_prime239v1[DER_OID_SZ_prime239v1] = { 196 DER_OID_V_prime239v1 197 }; 198 199 /* 200 * prime239v2 OBJECT IDENTIFIER ::= { primeCurve 5 } 201 */ 202 const unsigned char ossl_der_oid_prime239v2[DER_OID_SZ_prime239v2] = { 203 DER_OID_V_prime239v2 204 }; 205 206 /* 207 * prime239v3 OBJECT IDENTIFIER ::= { primeCurve 6 } 208 */ 209 const unsigned char ossl_der_oid_prime239v3[DER_OID_SZ_prime239v3] = { 210 DER_OID_V_prime239v3 211 }; 212 213 /* 214 * prime256v1 OBJECT IDENTIFIER ::= { primeCurve 7 } 215 */ 216 const unsigned char ossl_der_oid_prime256v1[DER_OID_SZ_prime256v1] = { 217 DER_OID_V_prime256v1 218 }; 219 220 /* 221 * ecdsa-with-SHA224 OBJECT IDENTIFIER ::= { iso(1) member-body(2) 222 * us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 1 } 223 */ 224 const unsigned char ossl_der_oid_ecdsa_with_SHA224[DER_OID_SZ_ecdsa_with_SHA224] = { 225 DER_OID_V_ecdsa_with_SHA224 226 }; 227 228 /* 229 * ecdsa-with-SHA256 OBJECT IDENTIFIER ::= { iso(1) member-body(2) 230 * us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 2 } 231 */ 232 const unsigned char ossl_der_oid_ecdsa_with_SHA256[DER_OID_SZ_ecdsa_with_SHA256] = { 233 DER_OID_V_ecdsa_with_SHA256 234 }; 235 236 /* 237 * ecdsa-with-SHA384 OBJECT IDENTIFIER ::= { iso(1) member-body(2) 238 * us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 3 } 239 */ 240 const unsigned char ossl_der_oid_ecdsa_with_SHA384[DER_OID_SZ_ecdsa_with_SHA384] = { 241 DER_OID_V_ecdsa_with_SHA384 242 }; 243 244 /* 245 * ecdsa-with-SHA512 OBJECT IDENTIFIER ::= { iso(1) member-body(2) 246 * us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 4 } 247 */ 248 const unsigned char ossl_der_oid_ecdsa_with_SHA512[DER_OID_SZ_ecdsa_with_SHA512] = { 249 DER_OID_V_ecdsa_with_SHA512 250 }; 251 252 /* 253 * id-ecdsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 9 } 254 */ 255 const unsigned char ossl_der_oid_id_ecdsa_with_sha3_224[DER_OID_SZ_id_ecdsa_with_sha3_224] = { 256 DER_OID_V_id_ecdsa_with_sha3_224 257 }; 258 259 /* 260 * id-ecdsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 10 } 261 */ 262 const unsigned char ossl_der_oid_id_ecdsa_with_sha3_256[DER_OID_SZ_id_ecdsa_with_sha3_256] = { 263 DER_OID_V_id_ecdsa_with_sha3_256 264 }; 265 266 /* 267 * id-ecdsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 11 } 268 */ 269 const unsigned char ossl_der_oid_id_ecdsa_with_sha3_384[DER_OID_SZ_id_ecdsa_with_sha3_384] = { 270 DER_OID_V_id_ecdsa_with_sha3_384 271 }; 272 273 /* 274 * id-ecdsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 12 } 275 */ 276 const unsigned char ossl_der_oid_id_ecdsa_with_sha3_512[DER_OID_SZ_id_ecdsa_with_sha3_512] = { 277 DER_OID_V_id_ecdsa_with_sha3_512 278 }; 279 280