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