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