|
CCF
|
#include <encryptor.h>
Inherits ccf::crypto::FixedSizeGcmHeader< iv_size >.
Public Member Functions | |
| void | set_iv_seq (uint64_t seq) |
| void | set_iv_term (uint64_t term) |
| uint64_t | get_term () const |
| void | set_iv_is_snapshot () |
Public Member Functions inherited from ccf::crypto::FixedSizeGcmHeader< iv_size > | |
| FixedSizeGcmHeader () | |
| void | set_random_iv (EntropyPtr entropy=ccf::crypto::get_entropy()) |
Public Member Functions inherited from ccf::crypto::GcmHeader | |
| GcmHeader (size_t iv_size) | |
| GcmHeader implementation. | |
| void | set_iv (const uint8_t *data, size_t size) |
| std::span< const uint8_t > | get_iv () const |
| size_t | serialised_size () const |
| std::vector< uint8_t > | serialise () |
| void | deserialise (const std::vector< uint8_t > &ser) |
| void | deserialise (const uint8_t *&data, size_t &size) |
Static Public Attributes | |
| static constexpr uint8_t | IV_DELIMITER = 8 |
Static Public Attributes inherited from ccf::crypto::FixedSizeGcmHeader< iv_size > | |
| static constexpr size_t | IV_SIZE |
Additional Inherited Members | |
Static Public Member Functions inherited from ccf::crypto::FixedSizeGcmHeader< iv_size > | |
| static size_t | serialised_size () |
Public Attributes inherited from ccf::crypto::GcmHeader | |
| uint8_t | tag [GCM_SIZE_TAG] = {} |
| std::vector< uint8_t > | iv |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |