Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_keys.c141 p_start = (UINT8 *)osi_calloc(SMP_ENCRYT_DATA_SIZE * 4); in smp_encrypt_data()
143 if (pt_len > SMP_ENCRYT_DATA_SIZE) in smp_encrypt_data()
144 pt_len = SMP_ENCRYT_DATA_SIZE; in smp_encrypt_data()
148 p_rev_data = p = p_start + SMP_ENCRYT_DATA_SIZE; /* start at byte 16 */ in smp_encrypt_data()
149 REVERSE_ARRAY_TO_STREAM (p, p_start, SMP_ENCRYT_DATA_SIZE); /* byte 16 to byte 31 */ in smp_encrypt_data()
155 smp_debug_print_nbyte_little_endian(p_start, (const UINT8 *)"Plain text", SMP_ENCRYT_DATA_SIZE); in smp_encrypt_data()
162 REVERSE_ARRAY_TO_STREAM (p, p_rev_output, SMP_ENCRYT_DATA_SIZE); in smp_encrypt_data()
269 memcpy(output.param_buf, p_cb->ltk, SMP_ENCRYT_DATA_SIZE); in smp_generate_stk()
Dsmp_int.h258 #define SMP_ENCRYT_DATA_SIZE 16 macro