40 class AES192_Decrypt_Impl;
83 void add(
const void *data,
int size);
98 std::shared_ptr<AES192_Decrypt_Impl> impl;
AES-192 decryption class (running in Cipher Block Chaining mode)
Definition aes192_decrypt.h:44
void add(const void *data, int size)
Adds data to be decrypted.
void set_iv(const unsigned char iv[iv_size])
Sets the initialisation vector.
void reset()
Resets the decryption.
bool calculate()
Finalize decryption.
void set_key(const unsigned char key[key_size])
Sets the cipher key.
void set_padding(bool value=true, bool use_pkcs7=true)
Enable AES Padding.
AES192_Decrypt()
Constructs a AES-192 generator (running in Cipher Block Chaining mode)
DataBuffer get_data() const
Get decrypted data.
static const int key_size
Definition aes192_decrypt.h:57
static const int iv_size
Definition aes192_decrypt.h:56
void add(const DataBuffer &data)
Add data to be decrypted.
General purpose data buffer.
Definition databuffer.h:42