Home
last modified time | relevance | path

Searched refs:loc_enc_size (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/smp/
Dsmp_act.cc148 p_cb->loc_enc_size = cb_data.io_req.max_key_size; in smp_send_app_cback()
163 p_cb->loc_enc_size, p_cb->local_i_key, p_cb->local_r_key); in smp_send_app_cback()
206 p_cb->loc_enc_size = cb_data.io_req.max_key_size; in smp_send_app_cback()
217 p_cb->loc_enc_size, p_cb->local_i_key, p_cb->local_r_key, in smp_send_app_cback()
360 SMP_TRACE_DEBUG("%s: p_cb->loc_enc_size = %d", __func__, p_cb->loc_enc_size); in smp_send_enc_info()
369 le_key.lenc_key.key_size = p_cb->loc_enc_size; in smp_send_enc_info()
994 le_key.penc_key.key_size = p_cb->loc_enc_size; in smp_proc_central_id()
1095 if (p_cb->peer_enc_size < p_cb->loc_enc_size) in smp_proc_compare()
1096 p_cb->loc_enc_size = p_cb->peer_enc_size; in smp_proc_compare()
1781 if (p_cb->peer_enc_size < p_cb->loc_enc_size) in smp_match_dhkey_checks()
[all …]
Dsmp_utils.cc472 UINT8_TO_STREAM(p, p_cb->loc_enc_size); in smp_build_pairing_cmd()
838 void smp_mask_enc_key(uint8_t loc_enc_size, Octet16* p_data) { in smp_mask_enc_key() argument
840 if (loc_enc_size < OCTET16_LEN) { in smp_mask_enc_key()
841 for (; loc_enc_size < OCTET16_LEN; loc_enc_size++) in smp_mask_enc_key()
842 (*p_data)[loc_enc_size] = 0; in smp_mask_enc_key()
1472 lle_key.lenc_key.key_size = p_cb->loc_enc_size; in smp_save_secure_connections_long_term_key()
1481 ple_key.penc_key.key_size = p_cb->loc_enc_size; in smp_save_secure_connections_long_term_key()
Dsmp_int.h279 uint8_t loc_enc_size; member
420 extern void smp_mask_enc_key(uint8_t loc_enc_size, Octet16* p_data);
Dsmp_keys.cc222 UINT8_TO_STREAM(p, p_cb->loc_enc_size); in smp_concatenate_local()
452 smp_mask_enc_key(p_cb->loc_enc_size, p); in smp_process_stk()
508 smp_mask_enc_key(p_cb->loc_enc_size, &ltk); in smp_generate_ltk_cont()
/system/bt/stack/test/
Dstack_smp_test.cc141 p_cb_.loc_enc_size = 0x10; in SetUp()