cipherOperation
Specifies whether to perform encryption or decryption.
Definition: beecrypt.h:556
const blockCipher aes
Holds the full API description of the AES algorithm.
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:644
AES block cipher, assembler-optimized routines, headers.
uint32_t * aesFeedback(aesParam *ap)
int aesSetCTR(aesParam *ap, const byte *nivz, size_t counter)
This function sets the CTR mode counter.
uint8_t byte
Definition: api.h:72
#define BEECRYPTAPI
Definition: api.h:52
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. ...
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. ...
Holds all the parameters necessary for the AES cipher.
Definition: aes.h:36