ff7tk
1.2.0.13
Work with Final Fantasy 7 game data
|
Macros | |
#define | Nb 4 |
#define | Nk 4 |
#define | Nr 10 |
#define | getSBoxValue(num) (sbox[(num)]) |
#define | getSBoxInvert(num) (rsbox[(num)]) |
#define | Multiply(x, y) |
Typedefs | |
typedef uint8_t | state_t[4][4] |
Functions | |
void | AES_init_ctx_iv (struct AES_ctx *ctx, const uint8_t *key, const uint8_t *iv) |
void | AES_ECB_encrypt (const struct AES_ctx *ctx, uint8_t *buf) |
void | AES_ECB_decrypt (const struct AES_ctx *ctx, uint8_t *buf) |
void | XorWithIv (uint8_t *buf, const uint8_t *Iv) |
void | XorWithByte (uint8_t *buf, uint8_t byte, int length) |
#define getSBoxInvert | ( | num | ) | (rsbox[(num)]) |
#define getSBoxValue | ( | num | ) | (sbox[(num)]) |
#define Multiply | ( | x, | |
y | |||
) |
#define Nb 4 |
#define Nk 4 |
#define Nr 10 |
typedef uint8_t state_t[4][4] |
void AES_ECB_decrypt | ( | const struct AES_ctx * | ctx, |
uint8_t * | buf | ||
) |
void AES_ECB_encrypt | ( | const struct AES_ctx * | ctx, |
uint8_t * | buf | ||
) |
void AES_init_ctx_iv | ( | struct AES_ctx * | ctx, |
const uint8_t * | key, | ||
const uint8_t * | iv | ||
) |
void XorWithByte | ( | uint8_t * | buf, |
uint8_t | byte, | ||
int | length | ||
) |
void XorWithIv | ( | uint8_t * | buf, |
const uint8_t * | Iv | ||
) |