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