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

/external/bluetooth/bluedroid/stack/smp/
H A Daes.h55 #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...]
H A Daes.c301 # define block_copy(d, s) memcpy(d, s, N_BLOCK)
399 static void add_round_key( uint_8t d[N_BLOCK], const uint_8t k[N_BLOCK] )
404 static void shift_sub_rows( uint_8t st[N_BLOCK] )
420 static void inv_shift_sub_rows( uint_8t st[N_BLOCK] )
437 static void mix_sub_columns( uint_8t dt[N_BLOCK] )
438 { uint_8t st[N_BLOCK];
441 static void mix_sub_columns( uint_8t dt[N_BLOCK], uint_8t st[N_BLOCK] )
466 static void inv_mix_sub_columns( uint_8t dt[N_BLOCK] )
771 update_encrypt_key_256( uint_8t k[2 * N_BLOCK], uint_8t *rc ) argument
804 aes_encrypt_256( const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const unsigned char key[2 * N_BLOCK], unsigned char o_key[2 * N_BLOCK] ) argument
851 update_decrypt_key_256( uint_8t k[2 * N_BLOCK], uint_8t *rc ) argument
885 aes_decrypt_256( const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const unsigned char key[2 * N_BLOCK], unsigned char o_key[2 * N_BLOCK] ) argument
[all...]

Completed in 74 milliseconds