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.cc153 p_cb->loc_enc_size = cb_data.io_req.max_key_size; in smp_send_app_cback()
168 p_cb->loc_enc_size, p_cb->local_i_key, p_cb->local_r_key); in smp_send_app_cback()
200 p_cb->loc_enc_size = cb_data.io_req.max_key_size; in smp_send_app_cback()
211 p_cb->loc_enc_size, p_cb->local_i_key, p_cb->local_r_key, in smp_send_app_cback()
349 SMP_TRACE_DEBUG("%s: p_cb->loc_enc_size = %d", __func__, p_cb->loc_enc_size); in smp_send_enc_info()
358 le_key.lenc_key.key_size = p_cb->loc_enc_size; in smp_send_enc_info()
972 le_key.penc_key.key_size = p_cb->loc_enc_size; in smp_proc_master_id()
1073 if (p_cb->peer_enc_size < p_cb->loc_enc_size) in smp_proc_compare()
1074 p_cb->loc_enc_size = p_cb->peer_enc_size; in smp_proc_compare()
1720 if (p_cb->peer_enc_size < p_cb->loc_enc_size) in smp_match_dhkey_checks()
[all …]
Dsmp_utils.cc460 UINT8_TO_STREAM(p, p_cb->loc_enc_size); in smp_build_pairing_cmd()
826 void smp_mask_enc_key(uint8_t loc_enc_size, Octet16* p_data) { in smp_mask_enc_key() argument
828 if (loc_enc_size < OCTET16_LEN) { in smp_mask_enc_key()
829 for (; loc_enc_size < OCTET16_LEN; loc_enc_size++) in smp_mask_enc_key()
830 (*p_data)[loc_enc_size] = 0; in smp_mask_enc_key()
1479 lle_key.lenc_key.key_size = p_cb->loc_enc_size; in smp_save_secure_connections_long_term_key()
1488 ple_key.penc_key.key_size = p_cb->loc_enc_size; in smp_save_secure_connections_long_term_key()
Dsmp_int.h309 uint8_t loc_enc_size; member
450 extern void smp_mask_enc_key(uint8_t loc_enc_size, Octet16* p_data);
Dsmp_keys.cc244 UINT8_TO_STREAM(p, p_cb->loc_enc_size); in smp_concatenate_local()
477 smp_mask_enc_key(p_cb->loc_enc_size, p); in smp_process_stk()
533 smp_mask_enc_key(p_cb->loc_enc_size, &ltk); in smp_generate_ltk_cont()
/system/bt/stack/test/
Dstack_smp_test.cc140 p_cb_.loc_enc_size = 0x10; in SetUp()