|
Botan
2.13.0
Crypto and TLS for C++11
|
#include <xmss_tools.h>
Public Member Functions | |
| void | operator= (const 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 24 of file xmss_tools.h.
|
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 63 of file xmss_tools.h.
References Botan::CPUID::is_little_endian().
Referenced by Botan::XMSS_WOTS_PrivateKey::at(), and 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 82 of file xmss_tools.h.
References Botan::CPUID::is_little_endian().
|
delete |
1.8.9.1