Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | BYTE_FORMAT "0x%02x" |
#define | BYTE_COLUMNS 8 |
#define | WORD_FORMAT "0x%08lx" |
#define | WORD_COLUMNS 4 |
Functions | |
static unsigned | xtime (unsigned x) |
static void | compute_log (void) |
static unsigned | mult (unsigned a, unsigned b) |
static unsigned | invert (unsigned x) |
static unsigned | affine (unsigned x) |
static void | compute_sbox (void) |
static void | compute_dtable (void) |
static void | compute_itable (void) |
static void | compute_mtable (void) |
static void | display_byte_table (const char *name, unsigned char *table) |
static void | display_table (const char *name, unsigned long table[][0x100]) |
static void | display_polynomial (const unsigned *p) |
int | main (int argc, char **argv) |
Variables | |
unsigned char | sbox [0x100] |
unsigned char | isbox [0x100] |
unsigned char | gf2_log [0x100] |
unsigned char | gf2_exp [0x100] |
unsigned long | dtable [4][0x100] |
unsigned long | itable [4][0x100] |
unsigned long | mtable [4][0x100] |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 157 of file aesdata.c.
References BYTE_COLUMNS, BYTE_FORMAT, i, and printf().
Referenced by main().
Definition at line 174 of file aesdata.c.
References i, k, printf(), WORD_COLUMNS, and WORD_FORMAT.
Referenced by main().
Definition at line 73 of file aesdata.c.
References gf2_exp, gf2_log, and x.
Referenced by avr_subtract_if(), compute_sbox(), logical(), lzss_decompress(), main(), p_bracket(), rz_hash_cfg_calculate_small_block_string(), rz_hash_cfg_get_result_string(), rz_print_offset(), and rz_print_offset_sg().
Definition at line 202 of file aesdata.c.
References a, argv, b, b1, c, compute_dtable(), compute_itable(), compute_log(), compute_mtable(), compute_sbox(), d, display_byte_table(), display_polynomial(), display_table(), dtable, gf2_exp, gf2_log, i, invert(), isbox, itable, mtable, mult(), NULL, and printf().
Definition at line 26 of file aesdata.c.
Referenced by compute_dtable(), and main().
unsigned char gf2_exp[0x100] |
unsigned char gf2_log[0x100] |
unsigned char isbox[0x100] |
Definition at line 21 of file aesdata.c.
Referenced by compute_itable(), compute_sbox(), and main().
Definition at line 27 of file aesdata.c.
Referenced by compute_itable(), and main().
Definition at line 28 of file aesdata.c.
Referenced by compute_mtable(), and main().