33 #include "../api_core.h"
42 class AES128_Encrypt_Impl;
71 static const int iv_size = 16;
72 static const int key_size = 16;
73 static const int block_size = 16;
82 void set_iv(
const unsigned char iv[iv_size]);
87 void set_key(
const unsigned char key[key_size]);
97 void set_padding(
bool value =
true,
bool use_pkcs7 =
true,
unsigned int num_additional_padded_blocks = 0);
100 void add(
const void *data,
int size);
115 std::shared_ptr<AES128_Encrypt_Impl> impl;
General purpose data buffer.
Definition: databuffer.h:43
AES-128 encryption class (running in Cipher Block Chaining mode)
Definition: aes128_encrypt.h:45