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