int aesDecrypt(aesParam *ap, uint32_t *dst, const uint32_t *src)
This function performs the raw AES decryption; it decrypts one block of 128 bits.
int aesSetup(aesParam *ap, const byte *key, size_t keybits, cipherOperation op)
This function performs the cipher's key expansion.
int aesSetIV(aesParam *ap, const byte *iv)
This function sets the Initialization Vector.
int aesEncrypt(aesParam *ap, uint32_t *dst, const uint32_t *src)
This function performs the raw AES encryption; it encrypts one block of 128 bits.
const blockCipher aes
Holds the full API description of the AES algorithm.
int aesSetCTR(aesParam *ap, const byte *nivz, size_t counter)
This function sets the CTR mode counter.
uint32_t * aesFeedback(aesParam *ap)
AES block cipher, assembler-optimized routines, headers.
#define BEECRYPTAPI
Definition: api.h:52
cipherOperation
Specifies whether to perform encryption or decryption.
Definition: beecrypt.h:557
Holds all the parameters necessary for the AES cipher.
Definition: aes.h:40
uint32_t nr
Number of rounds to be used in encryption/decryption.
Definition: aes.h:48
Holds information and pointers to code specific to each cipher.
Definition: beecrypt.h:648