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