14 m_leaf_idx(0), m_randomness(0, 0x00) {
22 for(
size_t i = 0; i < 4; i++) {
23 m_leaf_idx = ((m_leaf_idx << 8) | raw_sig[i]);
30 auto begin = raw_sig.begin() +
sizeof(uint32_t);
32 std::copy(begin, end, std::back_inserter(m_randomness));
34 for(
size_t i = 0; i < xmss_params.
len(); i++) {
39 std::copy(begin, end, std::back_inserter(m_tree_sig.
ots_signature.back()));
42 for(
size_t i = 0; i < xmss_params.
tree_height(); i++) {