#include <cypher.h>
Inheritance diagram for AesIcmCypher:
Public Member Functions | |
AesIcmCypher () | |
~AesIcmCypher () | |
void | setKey (Buffer key) |
void | setSalt (Buffer salt) |
Static Public Attributes | |
static const char * | MIN_GCRYPT_VERSION |
static const u_int32_t | GCRYPT_SEC_MEM = 16384 |
Protected Member Functions | |
Buffer | getBitStream (u_int32_t length, seq_nr_t seq_nr, sender_id_t sender_id) |
Protected Attributes | |
gcry_cipher_hd_t | cipher_ |
Buffer | salt_ |
Static Private Attributes | |
static bool | gcrypt_initialized_ |
AesIcmCypher::AesIcmCypher | ( | ) |
AesIcmCypher::~AesIcmCypher | ( | ) |
Buffer AesIcmCypher::getBitStream | ( | u_int32_t | length, | |
seq_nr_t | seq_nr, | |||
sender_id_t | sender_id | |||
) | [protected, virtual] |
Implements Cypher.
const char * AesIcmCypher::MIN_GCRYPT_VERSION [static] |
const u_int32_t AesIcmCypher::GCRYPT_SEC_MEM = 16384 [static] |
gcry_cipher_hd_t AesIcmCypher::cipher_ [protected] |
Buffer AesIcmCypher::salt_ [protected] |
bool AesIcmCypher::gcrypt_initialized_ [static, private] |