Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/crypto/openssl/providers/common/der/der_dsa_gen.c
108106 views
1
/*
2
* WARNING: do not edit!
3
* Generated by Makefile from providers/common/der/der_dsa_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
/*
14
* DSA low level APIs are deprecated for public use, but still ok for
15
* internal use.
16
*/
17
#include "internal/deprecated.h"
18
19
#include "prov/der_dsa.h"
20
21
/* Well known OIDs precompiled */
22
/* clang-format off */
23
24
/*
25
* id-dsa OBJECT IDENTIFIER ::= {
26
* iso(1) member-body(2) us(840) x9-57(10040) x9algorithm(4) 1 }
27
*/
28
const unsigned char ossl_der_oid_id_dsa[DER_OID_SZ_id_dsa] = {
29
DER_OID_V_id_dsa
30
};
31
32
/*
33
* id-dsa-with-sha1 OBJECT IDENTIFIER ::= {
34
* iso(1) member-body(2) us(840) x9-57 (10040) x9algorithm(4) 3 }
35
*/
36
const unsigned char ossl_der_oid_id_dsa_with_sha1[DER_OID_SZ_id_dsa_with_sha1] = {
37
DER_OID_V_id_dsa_with_sha1
38
};
39
40
/*
41
* id-dsa-with-sha224 OBJECT IDENTIFIER ::= { sigAlgs 1 }
42
*/
43
const unsigned char ossl_der_oid_id_dsa_with_sha224[DER_OID_SZ_id_dsa_with_sha224] = {
44
DER_OID_V_id_dsa_with_sha224
45
};
46
47
/*
48
* id-dsa-with-sha256 OBJECT IDENTIFIER ::= { sigAlgs 2 }
49
*/
50
const unsigned char ossl_der_oid_id_dsa_with_sha256[DER_OID_SZ_id_dsa_with_sha256] = {
51
DER_OID_V_id_dsa_with_sha256
52
};
53
54
/*
55
* id-dsa-with-sha384 OBJECT IDENTIFIER ::= { sigAlgs 3 }
56
*/
57
const unsigned char ossl_der_oid_id_dsa_with_sha384[DER_OID_SZ_id_dsa_with_sha384] = {
58
DER_OID_V_id_dsa_with_sha384
59
};
60
61
/*
62
* id-dsa-with-sha512 OBJECT IDENTIFIER ::= { sigAlgs 4 }
63
*/
64
const unsigned char ossl_der_oid_id_dsa_with_sha512[DER_OID_SZ_id_dsa_with_sha512] = {
65
DER_OID_V_id_dsa_with_sha512
66
};
67
68
/*
69
* id-dsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 5 }
70
*/
71
const unsigned char ossl_der_oid_id_dsa_with_sha3_224[DER_OID_SZ_id_dsa_with_sha3_224] = {
72
DER_OID_V_id_dsa_with_sha3_224
73
};
74
75
/*
76
* id-dsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 6 }
77
*/
78
const unsigned char ossl_der_oid_id_dsa_with_sha3_256[DER_OID_SZ_id_dsa_with_sha3_256] = {
79
DER_OID_V_id_dsa_with_sha3_256
80
};
81
82
/*
83
* id-dsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 7 }
84
*/
85
const unsigned char ossl_der_oid_id_dsa_with_sha3_384[DER_OID_SZ_id_dsa_with_sha3_384] = {
86
DER_OID_V_id_dsa_with_sha3_384
87
};
88
89
/*
90
* id-dsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 8 }
91
*/
92
const unsigned char ossl_der_oid_id_dsa_with_sha3_512[DER_OID_SZ_id_dsa_with_sha3_512] = {
93
DER_OID_V_id_dsa_with_sha3_512
94
};
95
96
/* clang-format on */
97
98