Home
last modified time | relevance | path

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

/system/bt/stack/crypto_toolbox/
Daes.h55 #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 …]
Daes.cc319 #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/gd/crypto_toolbox/
Daes.h55 #define N_BLOCK (N_ROW * N_COL) macro
69 uint_8t ksch[(N_MAX_ROUNDS + 1) * N_BLOCK];
88 return_type aes_encrypt(const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const aes_cont…
91 …const unsigned char* in, unsigned char* out, int n_block, unsigned char iv[N_BLOCK], const aes_con…
96 return_type aes_decrypt(const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const aes_cont…
99 …const unsigned char* in, unsigned char* out, int n_block, unsigned char iv[N_BLOCK], const aes_con…
124 const unsigned char in[N_BLOCK],
125 unsigned char out[N_BLOCK],
126 const unsigned char key[N_BLOCK],
127 uint_8t o_key[N_BLOCK]);
[all …]
Daes.cc270 #define block_copy(d, s) memcpy(d, s, N_BLOCK)
363 static void add_round_key(uint_8t d[N_BLOCK], const uint_8t k[N_BLOCK]) { in add_round_key() argument
367 static void shift_sub_rows(uint_8t st[N_BLOCK]) { in shift_sub_rows() argument
395 static void inv_shift_sub_rows(uint_8t st[N_BLOCK]) { in inv_shift_sub_rows() argument
424 static void mix_sub_columns(uint_8t dt[N_BLOCK]) { argument
425 uint_8t st[N_BLOCK];
428 static void mix_sub_columns(uint_8t dt[N_BLOCK], uint_8t st[N_BLOCK]) {
452 static void inv_mix_sub_columns(uint_8t dt[N_BLOCK]) { argument
453 uint_8t st[N_BLOCK];
456 static void inv_mix_sub_columns(uint_8t dt[N_BLOCK], uint_8t st[N_BLOCK]) {
[all …]