ff7tk
1.2.0.13
Work with Final Fantasy 7 game data
|
Go to the documentation of this file.
17 #define AES_BLOCKLEN 16 //Block length in bytes AES is 128b block only
18 #define AES_KEYLEN 16 // Key length in bytes
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);
#define AES_keyExpSize
Definition: aes.h:19
void AES_ECB_encrypt(const struct AES_ctx *ctx, uint8_t *buf)
Definition: aes.c:304
void AES_ECB_decrypt(const struct AES_ctx *ctx, uint8_t *buf)
Definition: aes.c:310
uint8_t Iv[AES_BLOCKLEN]
Definition: aes.h:24
uint8_t RoundKey[AES_keyExpSize]
Definition: aes.h:23
void AES_init_ctx_iv(struct AES_ctx *ctx, const uint8_t *key, const uint8_t *iv)
Definition: aes.c:133
#define AES_BLOCKLEN
Definition: aes.h:17
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