Botan 3.6.1
Crypto and TLS for C&
|
#include <xmss_tools.h>
Public Member Functions | |
void | operator= (const XMSS_Tools &)=delete |
XMSS_Tools ()=delete | |
XMSS_Tools (const XMSS_Tools &)=delete | |
Static Public Member Functions | |
template<typename T , typename U = typename std::enable_if<std::is_integral<T>::value, void>::type> | |
static void | concat (secure_vector< uint8_t > &target, const T &src) |
template<typename T , typename U = typename std::enable_if<std::is_integral<T>::value, void>::type> | |
static void | concat (secure_vector< uint8_t > &target, const T &src, size_t len) |
Helper tools for low level byte operations required for the XMSS implementation.
Definition at line 22 of file xmss_tools.h.
|
delete |
|
delete |
|
static |
Concatenates the byte representation in big-endian order of any integral value to a secure_vector.
target | Vector to concatenate the byte representation of the integral value to. |
src | integral value to concatenate. |
Definition at line 54 of file xmss_tools.h.
References Botan::CPUID::is_little_endian().
Referenced by Botan::XMSS_WOTS_Parameters::base_w().
|
static |
Concatenates the last n bytes of the byte representation in big-endian order of any integral value to a to a secure_vector.
target | Vector to concatenate the byte representation of the integral value to. |
src | Integral value to concatenate. |
len | number of bytes to concatenate. This value must be smaller or equal to the size of type T. |
Definition at line 64 of file xmss_tools.h.
References Botan::CPUID::is_little_endian().
|
delete |