138032Speter/* 238032Speter * WARNING: do not edit! 338032Speter * Generated by Makefile from providers/common/der/der_ec_gen.c.in 438032Speter * 590792Sgshapiro * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. 690792Sgshapiro * 738032Speter * Licensed under the Apache License 2.0 (the "License"). You may not use 838032Speter * this file except in compliance with the License. You can obtain a copy 938032Speter * in the file LICENSE in the source distribution or at 1038032Speter * https://www.openssl.org/source/license.html 1164562Sgshapiro */ 1264562Sgshapiro 1364562Sgshapiro#include "prov/der_ec.h" 1464562Sgshapiro 1564562Sgshapiro/* Well known OIDs precompiled */ 1664562Sgshapiro 1764562Sgshapiro/* 1864562Sgshapiro * ecdsa-with-SHA1 OBJECT IDENTIFIER ::= { id-ecSigType 1 } 1964562Sgshapiro */ 2064562Sgshapiroconst unsigned char ossl_der_oid_ecdsa_with_SHA1[DER_OID_SZ_ecdsa_with_SHA1] = { 2164562Sgshapiro DER_OID_V_ecdsa_with_SHA1 2264562Sgshapiro}; 2364562Sgshapiro 2464562Sgshapiro/* 2564562Sgshapiro * id-ecPublicKey OBJECT IDENTIFIER ::= { id-publicKeyType 1 } 2664562Sgshapiro */ 2764562Sgshapiroconst unsigned char ossl_der_oid_id_ecPublicKey[DER_OID_SZ_id_ecPublicKey] = { 2864562Sgshapiro DER_OID_V_id_ecPublicKey 2964562Sgshapiro}; 3064562Sgshapiro 3164562Sgshapiro/* 3290792Sgshapiro * c2pnb163v1 OBJECT IDENTIFIER ::= { c-TwoCurve 1 } 3364562Sgshapiro */ 3464562Sgshapiroconst unsigned char ossl_der_oid_c2pnb163v1[DER_OID_SZ_c2pnb163v1] = { 3564562Sgshapiro DER_OID_V_c2pnb163v1 3664562Sgshapiro}; 3764562Sgshapiro 3864562Sgshapiro/* 39132943Sgshapiro * c2pnb163v2 OBJECT IDENTIFIER ::= { c-TwoCurve 2 } 40132943Sgshapiro */ 41132943Sgshapiroconst unsigned char ossl_der_oid_c2pnb163v2[DER_OID_SZ_c2pnb163v2] = { 42132943Sgshapiro DER_OID_V_c2pnb163v2 43132943Sgshapiro}; 44132943Sgshapiro 45132943Sgshapiro/* 46132943Sgshapiro * c2pnb163v3 OBJECT IDENTIFIER ::= { c-TwoCurve 3 } 47132943Sgshapiro */ 48132943Sgshapiroconst unsigned char ossl_der_oid_c2pnb163v3[DER_OID_SZ_c2pnb163v3] = { 49132943Sgshapiro DER_OID_V_c2pnb163v3 50132943Sgshapiro}; 51132943Sgshapiro 52132943Sgshapiro/* 53132943Sgshapiro * c2pnb176w1 OBJECT IDENTIFIER ::= { c-TwoCurve 4 } 54132943Sgshapiro */ 55132943Sgshapiroconst unsigned char ossl_der_oid_c2pnb176w1[DER_OID_SZ_c2pnb176w1] = { 56132943Sgshapiro DER_OID_V_c2pnb176w1 57132943Sgshapiro}; 58132943Sgshapiro 59132943Sgshapiro/* 60132943Sgshapiro * c2tnb191v1 OBJECT IDENTIFIER ::= { c-TwoCurve 5 } 61132943Sgshapiro */ 62132943Sgshapiroconst unsigned char ossl_der_oid_c2tnb191v1[DER_OID_SZ_c2tnb191v1] = { 63132943Sgshapiro DER_OID_V_c2tnb191v1 64266527Sgshapiro}; 65 66/* 67 * c2tnb191v2 OBJECT IDENTIFIER ::= { c-TwoCurve 6 } 68 */ 69const 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 */ 76const 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 */ 83const 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 */ 90const 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 */ 97const 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 */ 104const 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 */ 111const 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 */ 118const 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 */ 125const 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 */ 132const 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 */ 139const 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 */ 146const 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 */ 153const 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 */ 160const 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 */ 167const 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 */ 174const 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 */ 181const 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 */ 188const 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 */ 195const 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 */ 202const 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 */ 209const 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 */ 216const 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 */ 224const 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 */ 232const 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 */ 240const 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 */ 248const 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 */ 255const 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 */ 262const 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 */ 269const 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 */ 276const 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