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