8 #define AES_BLOCK_SIZE 16
11 void aes_encrypt(
void *ctx,
const u8 *plain, u8 *crypt);
14 void aes_decrypt(
void *ctx,
const u8 *crypt, u8 *plain);
void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain)
Decrypt one AES block.
Definition: aes-internal-dec.c:146
void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt)
Encrypt one AES block.
Definition: aes-internal-enc.c:111
void * aes_encrypt_init(const u8 *key, size_t len)
Initialize AES for encryption.
Definition: aes-internal-enc.c:94
void aes_encrypt_deinit(void *ctx)
Deinitialize AES encryption.
Definition: aes-internal-enc.c:118
void * aes_decrypt_init(const u8 *key, size_t len)
Initialize AES for decryption.
Definition: aes-internal-dec.c:55
void aes_decrypt_deinit(void *ctx)
Deinitialize AES decryption.
Definition: aes-internal-dec.c:153