Base buffer definition for KEM data structure.
More...
#include <lime_crypto_primitives.hpp>
|
| | K (const std::vector< uint8_t >::const_iterator buffer) |
| | construct from a std::vector<uint8_t>
|
| | K (const uint8_t *const buffer) |
| | construct from uint8_t *
|
| | K () |
| | 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 Algo,
lime::Ktype dataType>
class lime::K< Algo, dataType >
Base buffer definition for KEM data structure.
easy use of array types with correct size
◆ K() [1/3]
| lime::K< Algo, dataType >::K |
( |
const std::vector< uint8_t >::const_iterator | buffer | ) |
|
|
inline |
construct from a std::vector<uint8_t>
◆ K() [2/3]
| lime::K< Algo, dataType >::K |
( |
const uint8_t *const | buffer | ) |
|
|
inline |
◆ K() [3/3]
default initialise value to 0
◆ assign()
| void lime::K< Algo, dataType >::assign |
( |
const std::vector< uint8_t >::const_iterator | buffer | ) |
|
|
inline |
copy from a std::vector<uint8_t>
◆ ssize()
| constexpr size_t lime::K< Algo, 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: