Home
last modified time | relevance | path

Searched refs:sec_level (Results 1 – 10 of 10) sorted by relevance

/system/bt/stack/smp/
Dsmp_act.cc359 le_key.lenc_key.sec_level = p_cb->sec_level; in smp_send_enc_info()
398 key.lcsrk_key.sec_level = p_cb->sec_level; in smp_send_csrk_info()
971 le_key.penc_key.sec_level = p_cb->sec_level; in smp_proc_master_id()
1049 le_key.pcsrk_key.sec_level = p_cb->sec_level; in smp_proc_srk_info()
1304 p_cb->sec_level = SMP_SEC_UNAUTHENTICATE; in smp_decide_association_model()
1306 p_cb->sec_level); in smp_decide_association_model()
1320 p_cb->sec_level = SMP_SEC_AUTHENTICATED; in smp_decide_association_model()
1322 p_cb->sec_level); in smp_decide_association_model()
1330 p_cb->sec_level = SMP_SEC_AUTHENTICATED; in smp_decide_association_model()
1332 p_cb->sec_level); in smp_decide_association_model()
[all …]
Dsmp_utils.cc940 if (p_cb->status == SMP_SUCCESS) evt_data.cmplt.sec_level = p_cb->sec_level; in smp_proc_pairing_cmpl()
947 evt_data.cmplt.reason, evt_data.cmplt.sec_level); in smp_proc_pairing_cmpl()
1480 lle_key.lenc_key.sec_level = p_cb->sec_level; in smp_save_secure_connections_long_term_key()
1487 ple_key.penc_key.sec_level = p_cb->sec_level; in smp_save_secure_connections_long_term_key()
Dsmp_keys.cc974 if (p_cb->sec_level == SMP_SEC_AUTHENTICATED) in smp_calculate_link_key_from_long_term_key()
980 if (p_cb->sec_level == SMP_SEC_AUTHENTICATED) in smp_calculate_link_key_from_long_term_key()
1032 p_cb->sec_level = (br_link_key_type == BTM_LKEY_TYPE_AUTH_COMB_P_256) in smp_calculate_long_term_key_from_link_key()
Dsmp_int.h271 tSMP_SEC_LEVEL sec_level; member
/system/bt/stack/btm/
Dbtm_ble.cc1280 p_rec->ble.keys.sec_level = p_keys->penc_key.sec_level; in btm_sec_save_le_key()
1285 if (p_keys->penc_key.sec_level == SMP_SEC_AUTHENTICATED) in btm_sec_save_le_key()
1291 p_rec->ble.key_type, p_rec->sec_flags, p_rec->ble.keys.sec_level); in btm_sec_save_le_key()
1313 p_rec->ble.keys.srk_sec_level = p_keys->pcsrk_key.sec_level; in btm_sec_save_le_key()
1317 if (p_keys->pcsrk_key.sec_level == SMP_SEC_AUTHENTICATED) in btm_sec_save_le_key()
1332 p_rec->ble.keys.sec_level = p_keys->lenc_key.sec_level; in btm_sec_save_le_key()
1340 p_rec->ble.keys.sec_level); in btm_sec_save_le_key()
1346 p_rec->ble.keys.local_csrk_sec_level = p_keys->lcsrk_key.sec_level; in btm_sec_save_le_key()
1475 cur_sec_level = p_dev_rec->ble.keys.sec_level; in btm_ble_link_sec_check()
1950 p_data->cmplt.sec_level, p_dev_rec->sec_flags); in btm_proc_smp_cback()
[all …]
Dbtm_sec.cc103 uint16_t sec_level, uint16_t psm,
464 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
467 sec_level, psm, mx_proto_id, mx_chan_id)); in BTM_SetSecurityLevel()
492 uint16_t sec_level, uint16_t psm, in btm_sec_set_security_level() argument
502 BTM_TRACE_API("%s : sec: 0x%x", __func__, sec_level); in btm_sec_set_security_level()
571 sec_level &= in btm_sec_set_security_level()
578 if (sec_level & BTM_SEC_OUT_AUTHENTICATE) sec_level |= BTM_SEC_OUT_MITM; in btm_sec_set_security_level()
582 if (sec_level & BTM_SEC_OUT_ENCRYPT) sec_level |= BTM_SEC_OUT_AUTHENTICATE; in btm_sec_set_security_level()
605 sec_level &= ~(BTM_SEC_OUT_AUTHORIZE | BTM_SEC_OUT_ENCRYPT | in btm_sec_set_security_level()
611 if (sec_level & BTM_SEC_IN_AUTHENTICATE) sec_level |= BTM_SEC_IN_MITM; in btm_sec_set_security_level()
[all …]
Dbtm_int_types.h422 uint8_t sec_level; /* local pairing security level */ member
/system/bt/stack/include/
Dbtm_api_types.h1627 uint8_t sec_level; member
1637 uint8_t sec_level; member
1645 uint8_t sec_level; member
1653 uint8_t sec_level; member
1660 uint8_t sec_level; member
Dsmp_api_types.h210 tSMP_SEC_LEVEL sec_level; member
Dbtm_api.h1364 uint8_t service_id, uint16_t sec_level,