File nut/gorp/crypt/aes.c


Included Files


Preprocessor definitions

#define HAVE_MEMCPY

#define WPOLY 0x011b

#define BPOLY 0x1b

#define DPOLY 0x008d

#define f1( x )

#define f2( x )

#define f4( x )

#define f8( x )

#define d2( x )

#define f3( x )

#define f9( x )

#define fb( x )

#define fd( x )

#define fe( x )

#define s_box( x )

#define is_box( x )

#define gfm2_sb( x )

#define gfm3_sb( x )

#define gfm_9( x )

#define gfm_b( x )

#define gfm_d( x )

#define gfm_e( x )

#define block_copy_nn( d, s, l )

#define block_copy( d, s )


Global Function copy_and_key()

void copy_and_key ( void* d, const void* s, const void* k )

Global Function inv_mix_sub_columns()

void inv_mix_sub_columns ( uint8_t dt[(4*4)], uint8_t st[(4*4)] )
Calls: gf_inv() nut/gorp/crypt/aes.c
  inv_affine() nut/gorp/crypt/aes.c

Global Function inv_shift_sub_rows()

void inv_shift_sub_rows ( uint8_t st[(4*4)] )
Calls: gf_inv() nut/gorp/crypt/aes.c
  inv_affine() nut/gorp/crypt/aes.c

Global Function mix_sub_columns()

void mix_sub_columns ( uint8_t dt[(4*4)], uint8_t st[(4*4)] )
Calls: fwd_affine() nut/gorp/crypt/aes.c
  gf_inv() nut/gorp/crypt/aes.c

Global Function shift_sub_rows()

void shift_sub_rows ( uint8_t st[(4*4)] )
Calls: fwd_affine() nut/gorp/crypt/aes.c
  gf_inv() nut/gorp/crypt/aes.c

Global Function xor_block()

void xor_block ( void* d, const void* s )

Local Function fwd_affine()

static uint8_t fwd_affine ( const uint8_t x )
Called by: mix_sub_columns() nut/gorp/crypt/aes.c
  shift_sub_rows() nut/gorp/crypt/aes.c

Local Function gf_inv()

static uint8_t gf_inv ( const uint8_t x )
Calls: hibit() nut/gorp/crypt/aes.c
Called by: inv_mix_sub_columns() nut/gorp/crypt/aes.c
  inv_shift_sub_rows() nut/gorp/crypt/aes.c
  mix_sub_columns() nut/gorp/crypt/aes.c
  shift_sub_rows() nut/gorp/crypt/aes.c

Local Function hibit()

static uint8_t hibit ( const uint8_t x )
Called by: gf_inv() nut/gorp/crypt/aes.c

Local Function inv_affine()

static uint8_t inv_affine ( const uint8_t x )
Called by: inv_mix_sub_columns() nut/gorp/crypt/aes.c
  inv_shift_sub_rows() nut/gorp/crypt/aes.c