ff7tk  1.2.0.13
Work with Final Fantasy 7 game data
Classes | Macros | Functions
aes.h File Reference
#include <stdint.h>
Include dependency graph for aes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AES_ctx
 

Macros

#define AES_BLOCKLEN   16
 
#define AES_KEYLEN   16
 
#define AES_keyExpSize   176
 

Functions

void AES_init_ctx_iv (struct AES_ctx *ctx, const uint8_t *key, const uint8_t *iv)
 
void XorWithIv (uint8_t *buf, const uint8_t *Iv)
 
void XorWithByte (uint8_t *buf, uint8_t byte, int length)
 
void AES_ECB_encrypt (const struct AES_ctx *ctx, uint8_t *buf)
 
void AES_ECB_decrypt (const struct AES_ctx *ctx, uint8_t *buf)
 

Macro Definition Documentation

◆ AES_BLOCKLEN

#define AES_BLOCKLEN   16

◆ AES_keyExpSize

#define AES_keyExpSize   176

◆ AES_KEYLEN

#define AES_KEYLEN   16

Function Documentation

◆ AES_ECB_decrypt()

void AES_ECB_decrypt ( const struct AES_ctx ctx,
uint8_t *  buf 
)

◆ AES_ECB_encrypt()

void AES_ECB_encrypt ( const struct AES_ctx ctx,
uint8_t *  buf 
)

◆ AES_init_ctx_iv()

void AES_init_ctx_iv ( struct AES_ctx ctx,
const uint8_t *  key,
const uint8_t *  iv 
)

◆ XorWithByte()

void XorWithByte ( uint8_t *  buf,
uint8_t  byte,
int  length 
)

◆ XorWithIv()

void XorWithIv ( uint8_t *  buf,
const uint8_t *  Iv 
)