17 #define AES_BLOCKLEN 16
19 #define AES_keyExpSize 176
28 void XorWithIv(uint8_t* buf,
const uint8_t* Iv);
29 void XorWithByte(uint8_t* buf, uint8_t
byte,
int length);
void AES_ECB_encrypt(const struct AES_ctx *ctx, uint8_t *buf)
Definition: aes.c:304
void XorWithByte(uint8_t *buf, uint8_t byte, int length)
Definition: aes.c:323
void XorWithIv(uint8_t *buf, const uint8_t *Iv)
Definition: aes.c:316
void AES_init_ctx_iv(struct AES_ctx *ctx, const uint8_t *key, const uint8_t *iv)
Definition: aes.c:133
#define AES_keyExpSize
Definition: aes.h:19
void AES_ECB_decrypt(const struct AES_ctx *ctx, uint8_t *buf)
Definition: aes.c:310
#define AES_BLOCKLEN
Definition: aes.h:17
uint8_t Iv[AES_BLOCKLEN]
Definition: aes.h:24
uint8_t RoundKey[AES_keyExpSize]
Definition: aes.h:23