Base buffer definition for Key Exchange data structure.
More...
#include <lime_crypto_primitives.hpp>
|
| | X (const std::vector< uint8_t >::const_iterator buffer) |
| | construct from a std::vector<uint8_t>
|
| | X (const uint8_t *const buffer) |
| | construct from a uint8_t *
|
| | X () |
| | default initialise value to 0
|
| void | assign (const std::vector< uint8_t >::const_iterator buffer) |
| | copy from a std::vector<uint8_t>
|
| | ~sBuffer () |
| | zeroise all buffer when done
|
|
| static constexpr size_t | ssize (void) |
| | provide a static size function to be able to call the function not on an object
|
template<typename Curve,
lime::Xtype dataType>
class lime::X< Curve, dataType >
Base buffer definition for Key Exchange data structure.
easy use of array types with correct size
◆ X() [1/3]
| lime::X< Curve, dataType >::X |
( |
const std::vector< uint8_t >::const_iterator | buffer | ) |
|
|
inline |
construct from a std::vector<uint8_t>
◆ X() [2/3]
| lime::X< Curve, dataType >::X |
( |
const uint8_t *const | buffer | ) |
|
|
inline |
construct from a uint8_t *
◆ X() [3/3]
default initialise value to 0
◆ assign()
| void lime::X< Curve, dataType >::assign |
( |
const std::vector< uint8_t >::const_iterator | buffer | ) |
|
|
inline |
copy from a std::vector<uint8_t>
◆ ssize()
| constexpr size_t lime::X< Curve, dataType >::ssize |
( |
void | | ) |
|
|
inlinestaticconstexpr |
provide a static size function to be able to call the function not on an object
The documentation for this class was generated from the following file: