xref: /freebsd-src/crypto/openssl/providers/common/der/der_digests_gen.c (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1*b077aed3SPierre Pronchery /*
2*b077aed3SPierre Pronchery  * WARNING: do not edit!
3*b077aed3SPierre Pronchery  * Generated by Makefile from providers/common/der/der_digests_gen.c.in
4*b077aed3SPierre Pronchery  *
5*b077aed3SPierre Pronchery  * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
6*b077aed3SPierre Pronchery  *
7*b077aed3SPierre Pronchery  * Licensed under the Apache License 2.0 (the "License").  You may not use
8*b077aed3SPierre Pronchery  * this file except in compliance with the License.  You can obtain a copy
9*b077aed3SPierre Pronchery  * in the file LICENSE in the source distribution or at
10*b077aed3SPierre Pronchery  * https://www.openssl.org/source/license.html
11*b077aed3SPierre Pronchery  */
12*b077aed3SPierre Pronchery 
13*b077aed3SPierre Pronchery #include "prov/der_digests.h"
14*b077aed3SPierre Pronchery 
15*b077aed3SPierre Pronchery /* Well known OIDs precompiled */
16*b077aed3SPierre Pronchery 
17*b077aed3SPierre Pronchery /*
18*b077aed3SPierre Pronchery  * sigAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 3 }
19*b077aed3SPierre Pronchery  */
20*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_sigAlgs[DER_OID_SZ_sigAlgs] = {
21*b077aed3SPierre Pronchery     DER_OID_V_sigAlgs
22*b077aed3SPierre Pronchery };
23*b077aed3SPierre Pronchery 
24*b077aed3SPierre Pronchery /*
25*b077aed3SPierre Pronchery  * id-sha1  OBJECT IDENTIFIER  ::=  { iso(1)
26*b077aed3SPierre Pronchery  *                      identified-organization(3) oiw(14)
27*b077aed3SPierre Pronchery  *                      secsig(3) algorithms(2) 26 }
28*b077aed3SPierre Pronchery  */
29*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_sha1[DER_OID_SZ_id_sha1] = {
30*b077aed3SPierre Pronchery     DER_OID_V_id_sha1
31*b077aed3SPierre Pronchery };
32*b077aed3SPierre Pronchery 
33*b077aed3SPierre Pronchery /*
34*b077aed3SPierre Pronchery  * id-md2  OBJECT IDENTIFIER ::= {
35*b077aed3SPierre Pronchery  *   iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 }
36*b077aed3SPierre Pronchery  */
37*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_md2[DER_OID_SZ_id_md2] = {
38*b077aed3SPierre Pronchery     DER_OID_V_id_md2
39*b077aed3SPierre Pronchery };
40*b077aed3SPierre Pronchery 
41*b077aed3SPierre Pronchery /*
42*b077aed3SPierre Pronchery  * id-md5  OBJECT IDENTIFIER ::= {
43*b077aed3SPierre Pronchery  *   iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 }
44*b077aed3SPierre Pronchery  */
45*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_md5[DER_OID_SZ_id_md5] = {
46*b077aed3SPierre Pronchery     DER_OID_V_id_md5
47*b077aed3SPierre Pronchery };
48*b077aed3SPierre Pronchery 
49*b077aed3SPierre Pronchery /*
50*b077aed3SPierre Pronchery  * id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }
51*b077aed3SPierre Pronchery  */
52*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_sha256[DER_OID_SZ_id_sha256] = {
53*b077aed3SPierre Pronchery     DER_OID_V_id_sha256
54*b077aed3SPierre Pronchery };
55*b077aed3SPierre Pronchery 
56*b077aed3SPierre Pronchery /*
57*b077aed3SPierre Pronchery  * id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }
58*b077aed3SPierre Pronchery  */
59*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_sha384[DER_OID_SZ_id_sha384] = {
60*b077aed3SPierre Pronchery     DER_OID_V_id_sha384
61*b077aed3SPierre Pronchery };
62*b077aed3SPierre Pronchery 
63*b077aed3SPierre Pronchery /*
64*b077aed3SPierre Pronchery  * id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }
65*b077aed3SPierre Pronchery  */
66*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_sha512[DER_OID_SZ_id_sha512] = {
67*b077aed3SPierre Pronchery     DER_OID_V_id_sha512
68*b077aed3SPierre Pronchery };
69*b077aed3SPierre Pronchery 
70*b077aed3SPierre Pronchery /*
71*b077aed3SPierre Pronchery  * id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }
72*b077aed3SPierre Pronchery  */
73*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_sha224[DER_OID_SZ_id_sha224] = {
74*b077aed3SPierre Pronchery     DER_OID_V_id_sha224
75*b077aed3SPierre Pronchery };
76*b077aed3SPierre Pronchery 
77*b077aed3SPierre Pronchery /*
78*b077aed3SPierre Pronchery  * id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 }
79*b077aed3SPierre Pronchery  */
80*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_sha512_224[DER_OID_SZ_id_sha512_224] = {
81*b077aed3SPierre Pronchery     DER_OID_V_id_sha512_224
82*b077aed3SPierre Pronchery };
83*b077aed3SPierre Pronchery 
84*b077aed3SPierre Pronchery /*
85*b077aed3SPierre Pronchery  * id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 }
86*b077aed3SPierre Pronchery  */
87*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_sha512_256[DER_OID_SZ_id_sha512_256] = {
88*b077aed3SPierre Pronchery     DER_OID_V_id_sha512_256
89*b077aed3SPierre Pronchery };
90*b077aed3SPierre Pronchery 
91*b077aed3SPierre Pronchery /*
92*b077aed3SPierre Pronchery  * id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }
93*b077aed3SPierre Pronchery  */
94*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_sha3_224[DER_OID_SZ_id_sha3_224] = {
95*b077aed3SPierre Pronchery     DER_OID_V_id_sha3_224
96*b077aed3SPierre Pronchery };
97*b077aed3SPierre Pronchery 
98*b077aed3SPierre Pronchery /*
99*b077aed3SPierre Pronchery  * id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }
100*b077aed3SPierre Pronchery  */
101*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_sha3_256[DER_OID_SZ_id_sha3_256] = {
102*b077aed3SPierre Pronchery     DER_OID_V_id_sha3_256
103*b077aed3SPierre Pronchery };
104*b077aed3SPierre Pronchery 
105*b077aed3SPierre Pronchery /*
106*b077aed3SPierre Pronchery  * id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }
107*b077aed3SPierre Pronchery  */
108*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_sha3_384[DER_OID_SZ_id_sha3_384] = {
109*b077aed3SPierre Pronchery     DER_OID_V_id_sha3_384
110*b077aed3SPierre Pronchery };
111*b077aed3SPierre Pronchery 
112*b077aed3SPierre Pronchery /*
113*b077aed3SPierre Pronchery  * id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 }
114*b077aed3SPierre Pronchery  */
115*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_sha3_512[DER_OID_SZ_id_sha3_512] = {
116*b077aed3SPierre Pronchery     DER_OID_V_id_sha3_512
117*b077aed3SPierre Pronchery };
118*b077aed3SPierre Pronchery 
119*b077aed3SPierre Pronchery /*
120*b077aed3SPierre Pronchery  * id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 }
121*b077aed3SPierre Pronchery  */
122*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_shake128[DER_OID_SZ_id_shake128] = {
123*b077aed3SPierre Pronchery     DER_OID_V_id_shake128
124*b077aed3SPierre Pronchery };
125*b077aed3SPierre Pronchery 
126*b077aed3SPierre Pronchery /*
127*b077aed3SPierre Pronchery  * id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 }
128*b077aed3SPierre Pronchery  */
129*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_shake256[DER_OID_SZ_id_shake256] = {
130*b077aed3SPierre Pronchery     DER_OID_V_id_shake256
131*b077aed3SPierre Pronchery };
132*b077aed3SPierre Pronchery 
133*b077aed3SPierre Pronchery /*
134*b077aed3SPierre Pronchery  * id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 }
135*b077aed3SPierre Pronchery  */
136*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_shake128_len[DER_OID_SZ_id_shake128_len] = {
137*b077aed3SPierre Pronchery     DER_OID_V_id_shake128_len
138*b077aed3SPierre Pronchery };
139*b077aed3SPierre Pronchery 
140*b077aed3SPierre Pronchery /*
141*b077aed3SPierre Pronchery  * id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 }
142*b077aed3SPierre Pronchery  */
143*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_shake256_len[DER_OID_SZ_id_shake256_len] = {
144*b077aed3SPierre Pronchery     DER_OID_V_id_shake256_len
145*b077aed3SPierre Pronchery };
146*b077aed3SPierre Pronchery 
147*b077aed3SPierre Pronchery /*
148*b077aed3SPierre Pronchery  * id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19}
149*b077aed3SPierre Pronchery  */
150*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_KMACWithSHAKE128[DER_OID_SZ_id_KMACWithSHAKE128] = {
151*b077aed3SPierre Pronchery     DER_OID_V_id_KMACWithSHAKE128
152*b077aed3SPierre Pronchery };
153*b077aed3SPierre Pronchery 
154*b077aed3SPierre Pronchery /*
155*b077aed3SPierre Pronchery  * id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20}
156*b077aed3SPierre Pronchery  */
157*b077aed3SPierre Pronchery const unsigned char ossl_der_oid_id_KMACWithSHAKE256[DER_OID_SZ_id_KMACWithSHAKE256] = {
158*b077aed3SPierre Pronchery     DER_OID_V_id_KMACWithSHAKE256
159*b077aed3SPierre Pronchery };
160*b077aed3SPierre Pronchery 
161