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