Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/crypto/openssl/providers/common/include/prov/der_slh_dsa.h
109246 views
1
/*
2
* WARNING: do not edit!
3
* Generated by Makefile from providers/common/include/prov/der_slh_dsa.h.in
4
*
5
* Copyright 2025 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
#include "crypto/slh_dsa.h"
15
16
/* Well known OIDs precompiled */
17
/* clang-format off */
18
19
/*
20
* id-slh-dsa-sha2-128s OBJECT IDENTIFIER ::= { sigAlgs 20 }
21
*/
22
#define DER_OID_V_id_slh_dsa_sha2_128s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x14
23
#define DER_OID_SZ_id_slh_dsa_sha2_128s 11
24
extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_128s[DER_OID_SZ_id_slh_dsa_sha2_128s];
25
26
/*
27
* id-slh-dsa-sha2-128f OBJECT IDENTIFIER ::= { sigAlgs 21 }
28
*/
29
#define DER_OID_V_id_slh_dsa_sha2_128f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x15
30
#define DER_OID_SZ_id_slh_dsa_sha2_128f 11
31
extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_128f[DER_OID_SZ_id_slh_dsa_sha2_128f];
32
33
/*
34
* id-slh-dsa-sha2-192s OBJECT IDENTIFIER ::= { sigAlgs 22 }
35
*/
36
#define DER_OID_V_id_slh_dsa_sha2_192s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x16
37
#define DER_OID_SZ_id_slh_dsa_sha2_192s 11
38
extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_192s[DER_OID_SZ_id_slh_dsa_sha2_192s];
39
40
/*
41
* id-slh-dsa-sha2-192f OBJECT IDENTIFIER ::= { sigAlgs 23 }
42
*/
43
#define DER_OID_V_id_slh_dsa_sha2_192f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x17
44
#define DER_OID_SZ_id_slh_dsa_sha2_192f 11
45
extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_192f[DER_OID_SZ_id_slh_dsa_sha2_192f];
46
47
/*
48
* id-slh-dsa-sha2-256s OBJECT IDENTIFIER ::= { sigAlgs 24 }
49
*/
50
#define DER_OID_V_id_slh_dsa_sha2_256s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x18
51
#define DER_OID_SZ_id_slh_dsa_sha2_256s 11
52
extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_256s[DER_OID_SZ_id_slh_dsa_sha2_256s];
53
54
/*
55
* id-slh-dsa-sha2-256f OBJECT IDENTIFIER ::= { sigAlgs 25 }
56
*/
57
#define DER_OID_V_id_slh_dsa_sha2_256f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x19
58
#define DER_OID_SZ_id_slh_dsa_sha2_256f 11
59
extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_256f[DER_OID_SZ_id_slh_dsa_sha2_256f];
60
61
/*
62
* id-slh-dsa-shake-128s OBJECT IDENTIFIER ::= { sigAlgs 26 }
63
*/
64
#define DER_OID_V_id_slh_dsa_shake_128s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1A
65
#define DER_OID_SZ_id_slh_dsa_shake_128s 11
66
extern const unsigned char ossl_der_oid_id_slh_dsa_shake_128s[DER_OID_SZ_id_slh_dsa_shake_128s];
67
68
/*
69
* id-slh-dsa-shake-128f OBJECT IDENTIFIER ::= { sigAlgs 27 }
70
*/
71
#define DER_OID_V_id_slh_dsa_shake_128f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1B
72
#define DER_OID_SZ_id_slh_dsa_shake_128f 11
73
extern const unsigned char ossl_der_oid_id_slh_dsa_shake_128f[DER_OID_SZ_id_slh_dsa_shake_128f];
74
75
/*
76
* id-slh-dsa-shake-192s OBJECT IDENTIFIER ::= { sigAlgs 28 }
77
*/
78
#define DER_OID_V_id_slh_dsa_shake_192s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1C
79
#define DER_OID_SZ_id_slh_dsa_shake_192s 11
80
extern const unsigned char ossl_der_oid_id_slh_dsa_shake_192s[DER_OID_SZ_id_slh_dsa_shake_192s];
81
82
/*
83
* id-slh-dsa-shake-192f OBJECT IDENTIFIER ::= { sigAlgs 29 }
84
*/
85
#define DER_OID_V_id_slh_dsa_shake_192f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1D
86
#define DER_OID_SZ_id_slh_dsa_shake_192f 11
87
extern const unsigned char ossl_der_oid_id_slh_dsa_shake_192f[DER_OID_SZ_id_slh_dsa_shake_192f];
88
89
/*
90
* id-slh-dsa-shake-256s OBJECT IDENTIFIER ::= { sigAlgs 30 }
91
*/
92
#define DER_OID_V_id_slh_dsa_shake_256s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1E
93
#define DER_OID_SZ_id_slh_dsa_shake_256s 11
94
extern const unsigned char ossl_der_oid_id_slh_dsa_shake_256s[DER_OID_SZ_id_slh_dsa_shake_256s];
95
96
/*
97
* id-slh-dsa-shake-256f OBJECT IDENTIFIER ::= { sigAlgs 31 }
98
*/
99
#define DER_OID_V_id_slh_dsa_shake_256f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1F
100
#define DER_OID_SZ_id_slh_dsa_shake_256f 11
101
extern const unsigned char ossl_der_oid_id_slh_dsa_shake_256f[DER_OID_SZ_id_slh_dsa_shake_256f];
102
103
/* clang-format on */
104
105
int ossl_DER_w_algorithmIdentifier_SLH_DSA(WPACKET *pkt, int tag, SLH_DSA_KEY *key);
106
107