2 #ifndef SSP21_BUFFER_TYPES_H 3 #define SSP21_BUFFER_TYPES_H 5 #include "ssp21/crypto/Constants.h" 7 #include "ssp21/util/SequenceTypes.h" 9 #include "ser4cpp/util/Uncopyable.h" 10 #include "ser4cpp/container/StaticBuffer.h" 36 BufferType get_type()
const;
38 void set_type(BufferType key_type);
42 static uint8_t get_buffer_length(BufferType);
51 BufferType buffer_type = BufferType::empty;
126 this->rx_key.copy(other.rx_key);
127 this->tx_key.copy(other.tx_key);
130 inline bool valid()
const 132 return (rx_key.get_type() == BufferType::symmetric_key) && (tx_key.get_type() == BufferType::symmetric_key);
SSP21-cpp main namespace.