Path: blob/main/crypto/openssl/providers/common/include/prov/der_slh_dsa.h
48535 views
/*1* WARNING: do not edit!2* Generated by Makefile from providers/common/include/prov/der_slh_dsa.h.in3*4* Copyright 2025 The OpenSSL Project Authors. All Rights Reserved.5*6* Licensed under the Apache License 2.0 (the "License"). You may not use7* this file except in compliance with the License. You can obtain a copy8* in the file LICENSE in the source distribution or at9* https://www.openssl.org/source/license.html10*/1112#include "internal/der.h"13#include "crypto/slh_dsa.h"1415/* Well known OIDs precompiled */1617/*18* id-slh-dsa-sha2-128s OBJECT IDENTIFIER ::= { sigAlgs 20 }19*/20#define DER_OID_V_id_slh_dsa_sha2_128s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1421#define DER_OID_SZ_id_slh_dsa_sha2_128s 1122extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_128s[DER_OID_SZ_id_slh_dsa_sha2_128s];2324/*25* id-slh-dsa-sha2-128f OBJECT IDENTIFIER ::= { sigAlgs 21 }26*/27#define DER_OID_V_id_slh_dsa_sha2_128f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1528#define DER_OID_SZ_id_slh_dsa_sha2_128f 1129extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_128f[DER_OID_SZ_id_slh_dsa_sha2_128f];3031/*32* id-slh-dsa-sha2-192s OBJECT IDENTIFIER ::= { sigAlgs 22 }33*/34#define DER_OID_V_id_slh_dsa_sha2_192s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1635#define DER_OID_SZ_id_slh_dsa_sha2_192s 1136extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_192s[DER_OID_SZ_id_slh_dsa_sha2_192s];3738/*39* id-slh-dsa-sha2-192f OBJECT IDENTIFIER ::= { sigAlgs 23 }40*/41#define DER_OID_V_id_slh_dsa_sha2_192f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1742#define DER_OID_SZ_id_slh_dsa_sha2_192f 1143extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_192f[DER_OID_SZ_id_slh_dsa_sha2_192f];4445/*46* id-slh-dsa-sha2-256s OBJECT IDENTIFIER ::= { sigAlgs 24 }47*/48#define DER_OID_V_id_slh_dsa_sha2_256s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1849#define DER_OID_SZ_id_slh_dsa_sha2_256s 1150extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_256s[DER_OID_SZ_id_slh_dsa_sha2_256s];5152/*53* id-slh-dsa-sha2-256f OBJECT IDENTIFIER ::= { sigAlgs 25 }54*/55#define DER_OID_V_id_slh_dsa_sha2_256f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1956#define DER_OID_SZ_id_slh_dsa_sha2_256f 1157extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_256f[DER_OID_SZ_id_slh_dsa_sha2_256f];5859/*60* id-slh-dsa-shake-128s OBJECT IDENTIFIER ::= { sigAlgs 26 }61*/62#define DER_OID_V_id_slh_dsa_shake_128s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1A63#define DER_OID_SZ_id_slh_dsa_shake_128s 1164extern const unsigned char ossl_der_oid_id_slh_dsa_shake_128s[DER_OID_SZ_id_slh_dsa_shake_128s];6566/*67* id-slh-dsa-shake-128f OBJECT IDENTIFIER ::= { sigAlgs 27 }68*/69#define DER_OID_V_id_slh_dsa_shake_128f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1B70#define DER_OID_SZ_id_slh_dsa_shake_128f 1171extern const unsigned char ossl_der_oid_id_slh_dsa_shake_128f[DER_OID_SZ_id_slh_dsa_shake_128f];7273/*74* id-slh-dsa-shake-192s OBJECT IDENTIFIER ::= { sigAlgs 28 }75*/76#define DER_OID_V_id_slh_dsa_shake_192s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1C77#define DER_OID_SZ_id_slh_dsa_shake_192s 1178extern const unsigned char ossl_der_oid_id_slh_dsa_shake_192s[DER_OID_SZ_id_slh_dsa_shake_192s];7980/*81* id-slh-dsa-shake-192f OBJECT IDENTIFIER ::= { sigAlgs 29 }82*/83#define DER_OID_V_id_slh_dsa_shake_192f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1D84#define DER_OID_SZ_id_slh_dsa_shake_192f 1185extern const unsigned char ossl_der_oid_id_slh_dsa_shake_192f[DER_OID_SZ_id_slh_dsa_shake_192f];8687/*88* id-slh-dsa-shake-256s OBJECT IDENTIFIER ::= { sigAlgs 30 }89*/90#define DER_OID_V_id_slh_dsa_shake_256s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1E91#define DER_OID_SZ_id_slh_dsa_shake_256s 1192extern const unsigned char ossl_der_oid_id_slh_dsa_shake_256s[DER_OID_SZ_id_slh_dsa_shake_256s];9394/*95* id-slh-dsa-shake-256f OBJECT IDENTIFIER ::= { sigAlgs 31 }96*/97#define DER_OID_V_id_slh_dsa_shake_256f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1F98#define DER_OID_SZ_id_slh_dsa_shake_256f 1199extern const unsigned char ossl_der_oid_id_slh_dsa_shake_256f[DER_OID_SZ_id_slh_dsa_shake_256f];100101102int ossl_DER_w_algorithmIdentifier_SLH_DSA(WPACKET *pkt, int tag, SLH_DSA_KEY *key);103104105