CCF
|
Go to the source code of this file.
Classes | |
struct | ccf::crypto::GcmHeader |
struct | ccf::crypto::FixedSizeGcmHeader< IV_BYTES > |
struct | ccf::crypto::GcmCipher |
class | ccf::crypto::KeyAesGcm |
Namespaces | |
namespace | ccf |
namespace | ccf::crypto |
Typedefs | |
using | ccf::crypto::StandardGcmHeader = FixedSizeGcmHeader< 12 > |
Functions | |
std::unique_ptr< KeyAesGcm > | ccf::crypto::make_key_aes_gcm (std::span< const uint8_t > rawKey) |
Free function implementation. | |
void | ccf::crypto::check_supported_aes_key_size (size_t num_bits) |
std::vector< uint8_t > | ccf::crypto::aes_gcm_encrypt (std::span< const uint8_t > key, std::span< const uint8_t > plaintext, const std::vector< uint8_t > &iv=default_iv, const std::vector< uint8_t > &aad={}) |
std::vector< uint8_t > | ccf::crypto::aes_gcm_decrypt (std::span< const uint8_t > key, std::span< const uint8_t > ciphertext, const std::vector< uint8_t > &iv=default_iv, const std::vector< uint8_t > &aad={}) |
Variables | |
constexpr size_t | ccf::crypto::GCM_DEFAULT_KEY_SIZE = 32 |
constexpr size_t | ccf::crypto::GCM_SIZE_TAG = 16 |