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