AES-128 decryption class (running in Cipher Block Chaining mode) More...
#include <aes128_decrypt.h>
Public Member Functions | |
Construction | |
AES128_Decrypt () | |
Constructs a AES-128 generator (running in Cipher Block Chaining mode) More... | |
Attributes | |
DataBuffer | get_data () const |
Get decrypted data. More... | |
Operations | |
static const int | iv_size = 16 |
static const int | key_size = 16 |
void | reset () |
Resets the decryption. More... | |
void | set_iv (const unsigned char iv[iv_size]) |
Sets the initialisation vector. More... | |
void | set_key (const unsigned char key[key_size]) |
Sets the cipher key. More... | |
void | set_padding (bool value=true, bool use_pkcs7=true) |
Enable AES Padding. More... | |
void | add (const void *data, int size) |
Adds data to be decrypted. More... | |
void | add (const DataBuffer &data) |
Add data to be decrypted. More... | |
bool | calculate () |
Finalize decryption. More... | |
AES-128 decryption class (running in Cipher Block Chaining mode)