8#ifndef BOTAN_XMSS_PARAMETERS_H_
9#define BOTAN_XMSS_PARAMETERS_H_
14#include <botan/secmem.h>
15#include <botan/types.h>
53 static ots_algorithm_t xmss_wots_id_from_string(std::string_view param_set);
72 const std::string&
name()
const {
return m_name; }
91 size_t len()
const {
return m_len; }
93 size_t len_1()
const {
return m_len_1; }
95 size_t len_2()
const {
return m_len_2; }
97 size_t lg_w()
const {
return m_lg_w; }
106 static const std::map<std::string, ots_algorithm_t> m_oid_name_lut;
107 ots_algorithm_t m_oid;
109 std::string m_hash_name;
110 size_t m_element_size;
162 static xmss_algorithm_t xmss_id_from_string(std::string_view algo_name);
170 const std::string&
name()
const {
return m_name; }
211 size_t len()
const {
return m_len; }
236 xmss_algorithm_t m_oid;
239 std::string m_hash_name;
240 size_t m_element_size;
241 size_t m_hash_id_size;
242 size_t m_tree_height;
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_FUTURE_EXPLICIT
size_t total_number_of_signatures() const
size_t hash_id_size() const
size_t raw_private_key_size() const
XMSS_Parameters(std::string_view algo_name)
size_t estimated_strength() const
size_t wots_parameter() const
size_t raw_public_key_size() const
size_t tree_height() const
xmss_algorithm_t oid() const
const std::string & hash_function_name() const
XMSS_WOTS_Parameters::ots_algorithm_t ots_oid() const
const std::string & name() const
size_t raw_legacy_private_key_size() const
size_t element_size() const
bool operator==(const XMSS_Parameters &p) const
size_t wots_parameter() const
size_t element_size() const
XMSS_WOTS_Parameters(std::string_view algo_name)
ots_algorithm_t oid() const
size_t estimated_strength() const
const std::string & name() const
bool operator==(const XMSS_WOTS_Parameters &p) const
std::vector< T, secure_allocator< T > > secure_vector