Botan
3.7.1
Crypto and TLS for C&
src
lib
pubkey
sphincsplus
sphincsplus_common
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
19
namespace
Botan
{
20
21
#if defined(BOTAN_HAS_SLH_DSA_WITH_SHA2) || defined(BOTAN_HAS_SLH_DSA_WITH_SHAKE)
22
23
using
SLH_DSA_Parameter_Set =
Sphincs_Parameter_Set
;
24
using
SLH_DSA_Hash_Type =
Sphincs_Hash_Type
;
25
using
SLH_DSA_Parameters =
Sphincs_Parameters
;
26
27
using
SLH_DSA_PublicKey =
SphincsPlus_PublicKey
;
28
using
SLH_DSA_PrivateKey =
SphincsPlus_PrivateKey
;
29
30
#endif
31
32
}
// namespace Botan
33
34
#endif
Botan::SphincsPlus_PrivateKey
An SLH-DSA private key.
Definition
sphincsplus.h:91
Botan::SphincsPlus_PublicKey
An SLH-DSA (or SPHINCS+ Round 3.1) public key.
Definition
sphincsplus.h:31
Botan::Sphincs_Parameters
Definition
sp_parameters.h:45
Botan
Definition
alg_id.cpp:13
Botan::Sphincs_Parameter_Set
Sphincs_Parameter_Set
Definition
sp_parameters.h:24
Botan::Sphincs_Hash_Type
Sphincs_Hash_Type
Definition
sp_parameters.h:18
Generated by
1.13.2