25#define AES_MAXROUNDS MAXNR
26#define AES_BLOCK_SIZE 16
38#define aes_encrypt_ctx aes_context
39#define aes_decrypt_ctx aes_context
44static inline int aes_encrypt_key(
const uint8_t *key,
int keylen,
51static inline int aes_decrypt_key(
const uint8_t *key,
int keylen,
#define aes_decrypt_ctx
Definition: aes.h:39
#define aes_encrypt_ctx
Definition: aes.h:38
#define AES_BLOCK_SIZE
Definition: aes.h:26
#define AES_MAXROUNDS
Definition: aes.h:25
unsigned int uint32_t
Definition: coda.h:105
unsigned char uint8_t
Definition: coda.h:101
int rijndaelKeySetupDec(u32 rk[], const u8 cipherKey[], int keyBits)
Definition: rijndael-alg-fst.c:864
void rijndaelDecrypt(const u32 rk[], int Nr, const u8 ct[16], u8 pt[16])
Definition: rijndael-alg-fst.c:1089
int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits)
Definition: rijndael-alg-fst.c:774
void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16])
Definition: rijndael-alg-fst.c:908
unsigned int u32
Definition: rijndael-alg-fst.h:36
unsigned char u8
Definition: rijndael-alg-fst.h:34
uint32_t rounds
Definition: aes.h:36
uint8_t u8[AES_BLOCK_SIZE]
Definition: aes.h:29