Searched refs:N_BLOCK (Results 1 – 4 of 4) sorted by relevance
/system/bt/gd/crypto_toolbox/ |
D | aes.h | 55 #define N_BLOCK (N_ROW * N_COL) macro 69 uint_8t ksch[(N_MAX_ROUNDS + 1) * N_BLOCK]; 89 return_type aes_encrypt(const unsigned char in[N_BLOCK], 90 unsigned char out[N_BLOCK], const aes_context ctx[1]); 93 int n_block, unsigned char iv[N_BLOCK], 99 return_type aes_decrypt(const unsigned char in[N_BLOCK], 100 unsigned char out[N_BLOCK], const aes_context ctx[1]); 103 int n_block, unsigned char iv[N_BLOCK], 128 void aes_encrypt_128(const unsigned char in[N_BLOCK], 129 unsigned char out[N_BLOCK], [all …]
|
D | aes.cc | 319 #define block_copy(d, s) memcpy(d, s, N_BLOCK) 412 static void add_round_key(uint_8t d[N_BLOCK], const uint_8t k[N_BLOCK]) { in add_round_key() argument 416 static void shift_sub_rows(uint_8t st[N_BLOCK]) { in shift_sub_rows() argument 444 static void inv_shift_sub_rows(uint_8t st[N_BLOCK]) { in inv_shift_sub_rows() argument 473 static void mix_sub_columns(uint_8t dt[N_BLOCK]) { argument 474 uint_8t st[N_BLOCK]; 477 static void mix_sub_columns(uint_8t dt[N_BLOCK], uint_8t st[N_BLOCK]) { 501 static void inv_mix_sub_columns(uint_8t dt[N_BLOCK]) { argument 502 uint_8t st[N_BLOCK]; 505 static void inv_mix_sub_columns(uint_8t dt[N_BLOCK], uint_8t st[N_BLOCK]) { [all …]
|
/system/bt/stack/crypto_toolbox/ |
D | aes.h | 55 #define N_BLOCK (N_ROW * N_COL) macro 69 uint_8t ksch[(N_MAX_ROUNDS + 1) * N_BLOCK]; 89 return_type aes_encrypt(const unsigned char in[N_BLOCK], 90 unsigned char out[N_BLOCK], const aes_context ctx[1]); 93 int n_block, unsigned char iv[N_BLOCK], 99 return_type aes_decrypt(const unsigned char in[N_BLOCK], 100 unsigned char out[N_BLOCK], const aes_context ctx[1]); 103 int n_block, unsigned char iv[N_BLOCK], 128 void aes_encrypt_128(const unsigned char in[N_BLOCK], 129 unsigned char out[N_BLOCK], [all …]
|
D | aes.cc | 319 #define block_copy(d, s) memcpy(d, s, N_BLOCK) 412 static void add_round_key(uint_8t d[N_BLOCK], const uint_8t k[N_BLOCK]) { in add_round_key() argument 416 static void shift_sub_rows(uint_8t st[N_BLOCK]) { in shift_sub_rows() argument 444 static void inv_shift_sub_rows(uint_8t st[N_BLOCK]) { in inv_shift_sub_rows() argument 473 static void mix_sub_columns(uint_8t dt[N_BLOCK]) { argument 474 uint_8t st[N_BLOCK]; 477 static void mix_sub_columns(uint_8t dt[N_BLOCK], uint_8t st[N_BLOCK]) { 501 static void inv_mix_sub_columns(uint_8t dt[N_BLOCK]) { argument 502 uint_8t st[N_BLOCK]; 505 static void inv_mix_sub_columns(uint_8t dt[N_BLOCK], uint_8t st[N_BLOCK]) { [all …]
|