Home
last modified time | relevance | path

Searched refs:N_BLOCK (Results 1 – 2 of 2) sorted by relevance

/loramac-node-latest/src/peripherals/soft-se/
Daes.h61 #define N_BLOCK (N_ROW * N_COL) macro
73 { uint8_t ksch[(N_MAX_ROUNDS + 1) * N_BLOCK];
94 return_type aes_encrypt( const uint8_t in[N_BLOCK],
95 uint8_t out[N_BLOCK],
101 uint8_t iv[N_BLOCK],
107 return_type aes_decrypt( const uint8_t in[N_BLOCK],
108 uint8_t out[N_BLOCK],
114 uint8_t iv[N_BLOCK],
139 void aes_encrypt_128( const uint8_t in[N_BLOCK],
140 uint8_t out[N_BLOCK],
[all …]
Daes.c309 # define block_copy(d, s) memcpy(d, s, N_BLOCK)
406 static void add_round_key( uint8_t d[N_BLOCK], const uint8_t k[N_BLOCK] ) in add_round_key() argument
411 static void shift_sub_rows( uint8_t st[N_BLOCK] ) in shift_sub_rows() argument
429 static void inv_shift_sub_rows( uint8_t st[N_BLOCK] ) in inv_shift_sub_rows() argument
448 static void mix_sub_columns( uint8_t dt[N_BLOCK] ) argument
449 { uint8_t st[N_BLOCK];
452 static void mix_sub_columns( uint8_t dt[N_BLOCK], uint8_t st[N_BLOCK] )
479 static void inv_mix_sub_columns( uint8_t dt[N_BLOCK] ) argument
480 { uint8_t st[N_BLOCK];
483 static void inv_mix_sub_columns( uint8_t dt[N_BLOCK], uint8_t st[N_BLOCK] )
[all …]