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