Path: blob/main/crypto/openssl/providers/common/include/prov/der_slh_dsa.h
109246 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 */16/* clang-format off */1718/*19* id-slh-dsa-sha2-128s OBJECT IDENTIFIER ::= { sigAlgs 20 }20*/21#define DER_OID_V_id_slh_dsa_sha2_128s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1422#define DER_OID_SZ_id_slh_dsa_sha2_128s 1123extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_128s[DER_OID_SZ_id_slh_dsa_sha2_128s];2425/*26* id-slh-dsa-sha2-128f OBJECT IDENTIFIER ::= { sigAlgs 21 }27*/28#define DER_OID_V_id_slh_dsa_sha2_128f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1529#define DER_OID_SZ_id_slh_dsa_sha2_128f 1130extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_128f[DER_OID_SZ_id_slh_dsa_sha2_128f];3132/*33* id-slh-dsa-sha2-192s OBJECT IDENTIFIER ::= { sigAlgs 22 }34*/35#define DER_OID_V_id_slh_dsa_sha2_192s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1636#define DER_OID_SZ_id_slh_dsa_sha2_192s 1137extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_192s[DER_OID_SZ_id_slh_dsa_sha2_192s];3839/*40* id-slh-dsa-sha2-192f OBJECT IDENTIFIER ::= { sigAlgs 23 }41*/42#define DER_OID_V_id_slh_dsa_sha2_192f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1743#define DER_OID_SZ_id_slh_dsa_sha2_192f 1144extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_192f[DER_OID_SZ_id_slh_dsa_sha2_192f];4546/*47* id-slh-dsa-sha2-256s OBJECT IDENTIFIER ::= { sigAlgs 24 }48*/49#define DER_OID_V_id_slh_dsa_sha2_256s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1850#define DER_OID_SZ_id_slh_dsa_sha2_256s 1151extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_256s[DER_OID_SZ_id_slh_dsa_sha2_256s];5253/*54* id-slh-dsa-sha2-256f OBJECT IDENTIFIER ::= { sigAlgs 25 }55*/56#define DER_OID_V_id_slh_dsa_sha2_256f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1957#define DER_OID_SZ_id_slh_dsa_sha2_256f 1158extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_256f[DER_OID_SZ_id_slh_dsa_sha2_256f];5960/*61* id-slh-dsa-shake-128s OBJECT IDENTIFIER ::= { sigAlgs 26 }62*/63#define DER_OID_V_id_slh_dsa_shake_128s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1A64#define DER_OID_SZ_id_slh_dsa_shake_128s 1165extern const unsigned char ossl_der_oid_id_slh_dsa_shake_128s[DER_OID_SZ_id_slh_dsa_shake_128s];6667/*68* id-slh-dsa-shake-128f OBJECT IDENTIFIER ::= { sigAlgs 27 }69*/70#define DER_OID_V_id_slh_dsa_shake_128f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1B71#define DER_OID_SZ_id_slh_dsa_shake_128f 1172extern const unsigned char ossl_der_oid_id_slh_dsa_shake_128f[DER_OID_SZ_id_slh_dsa_shake_128f];7374/*75* id-slh-dsa-shake-192s OBJECT IDENTIFIER ::= { sigAlgs 28 }76*/77#define DER_OID_V_id_slh_dsa_shake_192s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1C78#define DER_OID_SZ_id_slh_dsa_shake_192s 1179extern const unsigned char ossl_der_oid_id_slh_dsa_shake_192s[DER_OID_SZ_id_slh_dsa_shake_192s];8081/*82* id-slh-dsa-shake-192f OBJECT IDENTIFIER ::= { sigAlgs 29 }83*/84#define DER_OID_V_id_slh_dsa_shake_192f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1D85#define DER_OID_SZ_id_slh_dsa_shake_192f 1186extern const unsigned char ossl_der_oid_id_slh_dsa_shake_192f[DER_OID_SZ_id_slh_dsa_shake_192f];8788/*89* id-slh-dsa-shake-256s OBJECT IDENTIFIER ::= { sigAlgs 30 }90*/91#define DER_OID_V_id_slh_dsa_shake_256s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1E92#define DER_OID_SZ_id_slh_dsa_shake_256s 1193extern const unsigned char ossl_der_oid_id_slh_dsa_shake_256s[DER_OID_SZ_id_slh_dsa_shake_256s];9495/*96* id-slh-dsa-shake-256f OBJECT IDENTIFIER ::= { sigAlgs 31 }97*/98#define DER_OID_V_id_slh_dsa_shake_256f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1F99#define DER_OID_SZ_id_slh_dsa_shake_256f 11100extern const unsigned char ossl_der_oid_id_slh_dsa_shake_256f[DER_OID_SZ_id_slh_dsa_shake_256f];101102/* clang-format on */103104int ossl_DER_w_algorithmIdentifier_SLH_DSA(WPACKET *pkt, int tag, SLH_DSA_KEY *key);105106107