xref: /freebsd/crypto/openssl/providers/common/include/prov/der_ml_dsa.h (revision 4757b351ea9d59d71d4a38b82506d2d16fcd560d)
1*4757b351SPierre Pronchery /*
2*4757b351SPierre Pronchery  * WARNING: do not edit!
3*4757b351SPierre Pronchery  * Generated by Makefile from providers/common/include/prov/der_ml_dsa.h.in
4*4757b351SPierre Pronchery  *
5*4757b351SPierre Pronchery  * Copyright 2025 The OpenSSL Project Authors. All Rights Reserved.
6*4757b351SPierre Pronchery  *
7*4757b351SPierre Pronchery  * Licensed under the Apache License 2.0 (the "License").  You may not use
8*4757b351SPierre Pronchery  * this file except in compliance with the License.  You can obtain a copy
9*4757b351SPierre Pronchery  * in the file LICENSE in the source distribution or at
10*4757b351SPierre Pronchery  * https://www.openssl.org/source/license.html
11*4757b351SPierre Pronchery  */
12*4757b351SPierre Pronchery 
13*4757b351SPierre Pronchery #include "internal/der.h"
14*4757b351SPierre Pronchery #include "crypto/ml_dsa.h"
15*4757b351SPierre Pronchery 
16*4757b351SPierre Pronchery /* Well known OIDs precompiled */
17*4757b351SPierre Pronchery 
18*4757b351SPierre Pronchery /*
19*4757b351SPierre Pronchery  * id-ml-dsa-44 OBJECT IDENTIFIER ::= { sigAlgs 17 }
20*4757b351SPierre Pronchery  */
21*4757b351SPierre Pronchery #define DER_OID_V_id_ml_dsa_44 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x11
22*4757b351SPierre Pronchery #define DER_OID_SZ_id_ml_dsa_44 11
23*4757b351SPierre Pronchery extern const unsigned char ossl_der_oid_id_ml_dsa_44[DER_OID_SZ_id_ml_dsa_44];
24*4757b351SPierre Pronchery 
25*4757b351SPierre Pronchery /*
26*4757b351SPierre Pronchery  * id-ml-dsa-65 OBJECT IDENTIFIER ::= { sigAlgs 18 }
27*4757b351SPierre Pronchery  */
28*4757b351SPierre Pronchery #define DER_OID_V_id_ml_dsa_65 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x12
29*4757b351SPierre Pronchery #define DER_OID_SZ_id_ml_dsa_65 11
30*4757b351SPierre Pronchery extern const unsigned char ossl_der_oid_id_ml_dsa_65[DER_OID_SZ_id_ml_dsa_65];
31*4757b351SPierre Pronchery 
32*4757b351SPierre Pronchery /*
33*4757b351SPierre Pronchery  * id-ml-dsa-87 OBJECT IDENTIFIER ::= { sigAlgs 19 }
34*4757b351SPierre Pronchery  */
35*4757b351SPierre Pronchery #define DER_OID_V_id_ml_dsa_87 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x13
36*4757b351SPierre Pronchery #define DER_OID_SZ_id_ml_dsa_87 11
37*4757b351SPierre Pronchery extern const unsigned char ossl_der_oid_id_ml_dsa_87[DER_OID_SZ_id_ml_dsa_87];
38*4757b351SPierre Pronchery 
39*4757b351SPierre Pronchery 
40*4757b351SPierre Pronchery int ossl_DER_w_algorithmIdentifier_ML_DSA(WPACKET *pkt, int tag, ML_DSA_KEY *key);
41