Searched refs:N_BLOCK (Results 1 – 2 of 2) sorted by relevance
/system/bt/stack/smp/ |
D | aes.h | 55 #define N_BLOCK (N_ROW * N_COL) macro 69 { uint_8t ksch[(N_MAX_ROUNDS + 1) * N_BLOCK]; 90 return_type aes_encrypt( const unsigned char in[N_BLOCK], 91 unsigned char out[N_BLOCK], 97 unsigned char iv[N_BLOCK], 103 return_type aes_decrypt( const unsigned char in[N_BLOCK], 104 unsigned char out[N_BLOCK], 110 unsigned char iv[N_BLOCK], 135 void aes_encrypt_128( const unsigned char in[N_BLOCK], 136 unsigned char out[N_BLOCK], [all …]
|
D | aes.c | 304 # define block_copy(d, s) memcpy(d, s, N_BLOCK) 402 static void add_round_key( uint_8t d[N_BLOCK], const uint_8t k[N_BLOCK] ) in add_round_key() argument 407 static void shift_sub_rows( uint_8t st[N_BLOCK] ) in shift_sub_rows() argument 423 static void inv_shift_sub_rows( uint_8t st[N_BLOCK] ) in inv_shift_sub_rows() argument 440 static void mix_sub_columns( uint_8t dt[N_BLOCK] ) argument 441 { uint_8t st[N_BLOCK]; 444 static void mix_sub_columns( uint_8t dt[N_BLOCK], uint_8t st[N_BLOCK] ) 469 static void inv_mix_sub_columns( uint_8t dt[N_BLOCK] ) argument 470 { uint_8t st[N_BLOCK]; 473 static void inv_mix_sub_columns( uint_8t dt[N_BLOCK], uint_8t st[N_BLOCK] ) [all …]
|