Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_keys.c149 if ( (p_out == NULL ) || (key_len != SMP_ENCRYT_KEY_SIZE) ) in smp_encrypt_data()
170 REVERSE_ARRAY_TO_STREAM (p, key, SMP_ENCRYT_KEY_SIZE); /* byte 32 to byte 47 */ in smp_encrypt_data()
173 smp_debug_print_nbyte_little_endian(key, (const UINT8 *)"Key", SMP_ENCRYT_KEY_SIZE); in smp_encrypt_data()
177 aes_set_key(p_rev_key, SMP_ENCRYT_KEY_SIZE, &ctx); in smp_encrypt_data()
183 …_print_nbyte_little_endian(p_out->param_buf, (const UINT8 *)"Encrypted text", SMP_ENCRYT_KEY_SIZE); in smp_encrypt_data()
186 p_out->param_len = SMP_ENCRYT_KEY_SIZE; in smp_encrypt_data()
285 output.param_len = SMP_ENCRYT_KEY_SIZE; in smp_generate_stk()
Dsmp_int.h257 #define SMP_ENCRYT_KEY_SIZE 16 macro