8 #ifndef BOTAN_XMSS_PARAMETERS_H__
9 #define BOTAN_XMSS_PARAMETERS_H__
14 #include <botan/assert.h>
15 #include <botan/types.h>
16 #include <botan/xmss_wots_parameters.h>
33 XMSS_SHA2_256_W16_H10 = 0x01000001,
34 XMSS_SHA2_256_W16_H16 = 0x02000002,
35 XMSS_SHA2_256_W16_H20 = 0x03000003,
36 XMSS_SHA2_512_W16_H10 = 0x04000004,
37 XMSS_SHA2_512_W16_H16 = 0x05000005,
38 XMSS_SHA2_512_W16_H20 = 0x06000006,
39 XMSS_SHAKE128_W16_H10 = 0x07000007,
40 XMSS_SHAKE128_W16_H16 = 0x08000008,
41 XMSS_SHAKE128_W16_H20 = 0x09000009,
42 XMSS_SHAKE256_W16_H10 = 0x0a00000a,
43 XMSS_SHAKE256_W16_H16 = 0x0b00000b,
44 XMSS_SHAKE256_W16_H20 = 0x0c00000c
47 static xmss_algorithm_t xmss_id_from_string(
const std::string& algo_name);
55 const std::string&
name()
const
87 size_t len()
const {
return m_len; }
107 return m_oid == p.m_oid;
111 xmss_algorithm_t
m_oid;
114 std::string m_hash_name;
115 size_t m_element_size;
116 size_t m_tree_height;
size_t element_size() const
XMSS_WOTS_Parameters::ots_algorithm_t ots_oid() const
size_t tree_height() const
bool operator==(const XMSS_Parameters &p) const
xmss_algorithm_t oid() const
size_t wots_parameter() const
const std::string & name() const
size_t estimated_strength() const
const std::string & hash_function_name() const