Botan 3.6.0
Crypto and TLS for C&
slh_dsa.h
Go to the documentation of this file.
1/*
2 * Stateless Hash-Based Digital Signature Standard
3 *
4 * (C) 2024 Jack Lloyd
5 *
6 * Botan is released under the Simplified BSD License (see license.txt)
7 */
8
9#ifndef BOTAN_SLH_DSA_H_
10#define BOTAN_SLH_DSA_H_
11
12// This is a bridge into a future where we don't support SPHINCS+ anymore to
13// keep the API stable for users of the SHPINCS+ algorithm. We recommend new
14// users to use the type-aliases declared in this header as the SPHINCS+ API
15// might be deprecated and eventually removed in future releases.
16
17#include <botan/sphincsplus.h>
18
19namespace Botan {
20
21#if defined(BOTAN_HAS_SLH_DSA_WITH_SHA2) || defined(BOTAN_HAS_SLH_DSA_WITH_SHAKE)
22
23using SLH_DSA_Parameter_Set = Sphincs_Parameter_Set;
24using SLH_DSA_Hash_Type = Sphincs_Hash_Type;
25using SLH_DSA_Parameters = Sphincs_Parameters;
26
27using SLH_DSA_PublicKey = SphincsPlus_PublicKey;
28using SLH_DSA_PrivateKey = SphincsPlus_PrivateKey;
29
30#endif
31
32} // namespace Botan
33
34#endif
Sphincs_Parameter_Set
Sphincs_Hash_Type