lime
Lime is a C++ library implementing Open Whisper System Signal protocol
Public Member Functions | Static Public Member Functions | List of all members
lime::K< Algo, dataType > Class Template Reference

Base buffer definition for KEM data structure. More...

Inheritance diagram for lime::K< Algo, dataType >:
lime::sBuffer< static_cast< size_t >(Algo::Ksize(dataType))>

Public Member Functions

 K (const std::vector< uint8_t >::const_iterator buffer)
 construct from a std::vector<uint8_t> More...
 
 K (const uint8_t *const buffer)
 construct from uint8_t * More...
 
 K ()
 default initialise value to 0 More...
 
void assign (const std::vector< uint8_t >::const_iterator buffer)
 copy from a std::vector<uint8_t> More...
 
- Public Member Functions inherited from lime::sBuffer< static_cast< size_t >(Algo::Ksize(dataType))>
 ~sBuffer ()
 zeroise all buffer when done More...
 

Static Public Member Functions

static constexpr size_t ssize (void)
 provide a static size function to be able to call the function not on an object More...
 

Detailed Description

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

Constructor & Destructor Documentation

template<typename Algo, lime::Ktype dataType>
lime::K< Algo, dataType >::K ( const std::vector< uint8_t >::const_iterator  buffer)
inline

construct from a std::vector<uint8_t>

template<typename Algo, lime::Ktype dataType>
lime::K< Algo, dataType >::K ( const uint8_t *const  buffer)
inline

construct from uint8_t *

template<typename Algo, lime::Ktype dataType>
lime::K< Algo, dataType >::K ( )
inline

default initialise value to 0

Member Function Documentation

template<typename Algo, lime::Ktype dataType>
void lime::K< Algo, dataType >::assign ( const std::vector< uint8_t >::const_iterator  buffer)
inline

copy from a std::vector<uint8_t>

template<typename Algo, lime::Ktype dataType>
static constexpr size_t lime::K< Algo, dataType >::ssize ( void  )
inlinestatic

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: