xref: /freebsd/crypto/openssl/providers/common/include/prov/der_slh_dsa.h (revision 4757b351ea9d59d71d4a38b82506d2d16fcd560d)
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 
18 /*
19  * id-slh-dsa-sha2-128s OBJECT IDENTIFIER ::= { sigAlgs 20 }
20  */
21 #define DER_OID_V_id_slh_dsa_sha2_128s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x14
22 #define DER_OID_SZ_id_slh_dsa_sha2_128s 11
23 extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_128s[DER_OID_SZ_id_slh_dsa_sha2_128s];
24 
25 /*
26  * id-slh-dsa-sha2-128f OBJECT IDENTIFIER ::= { sigAlgs 21 }
27  */
28 #define DER_OID_V_id_slh_dsa_sha2_128f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x15
29 #define DER_OID_SZ_id_slh_dsa_sha2_128f 11
30 extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_128f[DER_OID_SZ_id_slh_dsa_sha2_128f];
31 
32 /*
33  * id-slh-dsa-sha2-192s OBJECT IDENTIFIER ::= { sigAlgs 22 }
34  */
35 #define DER_OID_V_id_slh_dsa_sha2_192s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x16
36 #define DER_OID_SZ_id_slh_dsa_sha2_192s 11
37 extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_192s[DER_OID_SZ_id_slh_dsa_sha2_192s];
38 
39 /*
40  * id-slh-dsa-sha2-192f OBJECT IDENTIFIER ::= { sigAlgs 23 }
41  */
42 #define DER_OID_V_id_slh_dsa_sha2_192f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x17
43 #define DER_OID_SZ_id_slh_dsa_sha2_192f 11
44 extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_192f[DER_OID_SZ_id_slh_dsa_sha2_192f];
45 
46 /*
47  * id-slh-dsa-sha2-256s OBJECT IDENTIFIER ::= { sigAlgs 24 }
48  */
49 #define DER_OID_V_id_slh_dsa_sha2_256s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x18
50 #define DER_OID_SZ_id_slh_dsa_sha2_256s 11
51 extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_256s[DER_OID_SZ_id_slh_dsa_sha2_256s];
52 
53 /*
54  * id-slh-dsa-sha2-256f OBJECT IDENTIFIER ::= { sigAlgs 25 }
55  */
56 #define DER_OID_V_id_slh_dsa_sha2_256f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x19
57 #define DER_OID_SZ_id_slh_dsa_sha2_256f 11
58 extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_256f[DER_OID_SZ_id_slh_dsa_sha2_256f];
59 
60 /*
61  * id-slh-dsa-shake-128s OBJECT IDENTIFIER ::= { sigAlgs 26 }
62  */
63 #define DER_OID_V_id_slh_dsa_shake_128s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1A
64 #define DER_OID_SZ_id_slh_dsa_shake_128s 11
65 extern const unsigned char ossl_der_oid_id_slh_dsa_shake_128s[DER_OID_SZ_id_slh_dsa_shake_128s];
66 
67 /*
68  * id-slh-dsa-shake-128f OBJECT IDENTIFIER ::= { sigAlgs 27 }
69  */
70 #define DER_OID_V_id_slh_dsa_shake_128f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1B
71 #define DER_OID_SZ_id_slh_dsa_shake_128f 11
72 extern const unsigned char ossl_der_oid_id_slh_dsa_shake_128f[DER_OID_SZ_id_slh_dsa_shake_128f];
73 
74 /*
75  * id-slh-dsa-shake-192s OBJECT IDENTIFIER ::= { sigAlgs 28 }
76  */
77 #define DER_OID_V_id_slh_dsa_shake_192s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1C
78 #define DER_OID_SZ_id_slh_dsa_shake_192s 11
79 extern const unsigned char ossl_der_oid_id_slh_dsa_shake_192s[DER_OID_SZ_id_slh_dsa_shake_192s];
80 
81 /*
82  * id-slh-dsa-shake-192f OBJECT IDENTIFIER ::= { sigAlgs 29 }
83  */
84 #define DER_OID_V_id_slh_dsa_shake_192f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1D
85 #define DER_OID_SZ_id_slh_dsa_shake_192f 11
86 extern const unsigned char ossl_der_oid_id_slh_dsa_shake_192f[DER_OID_SZ_id_slh_dsa_shake_192f];
87 
88 /*
89  * id-slh-dsa-shake-256s OBJECT IDENTIFIER ::= { sigAlgs 30 }
90  */
91 #define DER_OID_V_id_slh_dsa_shake_256s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1E
92 #define DER_OID_SZ_id_slh_dsa_shake_256s 11
93 extern const unsigned char ossl_der_oid_id_slh_dsa_shake_256s[DER_OID_SZ_id_slh_dsa_shake_256s];
94 
95 /*
96  * id-slh-dsa-shake-256f OBJECT IDENTIFIER ::= { sigAlgs 31 }
97  */
98 #define DER_OID_V_id_slh_dsa_shake_256f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1F
99 #define DER_OID_SZ_id_slh_dsa_shake_256f 11
100 extern const unsigned char ossl_der_oid_id_slh_dsa_shake_256f[DER_OID_SZ_id_slh_dsa_shake_256f];
101 
102 
103 int ossl_DER_w_algorithmIdentifier_SLH_DSA(WPACKET *pkt, int tag, SLH_DSA_KEY *key);
104