xref: /freebsd/crypto/openssl/providers/common/include/prov/der_ml_dsa.h (revision 4757b351ea9d59d71d4a38b82506d2d16fcd560d)
1 /*
2  * WARNING: do not edit!
3  * Generated by Makefile from providers/common/include/prov/der_ml_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/ml_dsa.h"
15 
16 /* Well known OIDs precompiled */
17 
18 /*
19  * id-ml-dsa-44 OBJECT IDENTIFIER ::= { sigAlgs 17 }
20  */
21 #define DER_OID_V_id_ml_dsa_44 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x11
22 #define DER_OID_SZ_id_ml_dsa_44 11
23 extern const unsigned char ossl_der_oid_id_ml_dsa_44[DER_OID_SZ_id_ml_dsa_44];
24 
25 /*
26  * id-ml-dsa-65 OBJECT IDENTIFIER ::= { sigAlgs 18 }
27  */
28 #define DER_OID_V_id_ml_dsa_65 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x12
29 #define DER_OID_SZ_id_ml_dsa_65 11
30 extern const unsigned char ossl_der_oid_id_ml_dsa_65[DER_OID_SZ_id_ml_dsa_65];
31 
32 /*
33  * id-ml-dsa-87 OBJECT IDENTIFIER ::= { sigAlgs 19 }
34  */
35 #define DER_OID_V_id_ml_dsa_87 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x13
36 #define DER_OID_SZ_id_ml_dsa_87 11
37 extern const unsigned char ossl_der_oid_id_ml_dsa_87[DER_OID_SZ_id_ml_dsa_87];
38 
39 
40 int ossl_DER_w_algorithmIdentifier_ML_DSA(WPACKET *pkt, int tag, ML_DSA_KEY *key);
41