Home
last modified time | relevance | path

Searched refs:sec_level (Results 1 – 11 of 11) 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.cc972 if (p_cb->sec_level == SMP_SEC_AUTHENTICATED) in smp_calculate_link_key_from_long_term_key()
978 if (p_cb->sec_level == SMP_SEC_AUTHENTICATED) in smp_calculate_link_key_from_long_term_key()
1031 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.cc1292 p_rec->ble.keys.sec_level = p_keys->penc_key.sec_level; in btm_sec_save_le_key()
1297 if (p_keys->penc_key.sec_level == SMP_SEC_AUTHENTICATED) in btm_sec_save_le_key()
1303 p_rec->ble.key_type, p_rec->sec_flags, p_rec->ble.keys.sec_level); in btm_sec_save_le_key()
1325 p_rec->ble.keys.srk_sec_level = p_keys->pcsrk_key.sec_level; in btm_sec_save_le_key()
1329 if (p_keys->pcsrk_key.sec_level == SMP_SEC_AUTHENTICATED) in btm_sec_save_le_key()
1344 p_rec->ble.keys.sec_level = p_keys->lenc_key.sec_level; in btm_sec_save_le_key()
1352 p_rec->ble.keys.sec_level); in btm_sec_save_le_key()
1358 p_rec->ble.keys.local_csrk_sec_level = p_keys->lcsrk_key.sec_level; in btm_sec_save_le_key()
1487 cur_sec_level = p_dev_rec->ble.keys.sec_level; in btm_ble_link_sec_check()
1964 p_data->cmplt.sec_level, p_dev_rec->sec_flags); in btm_proc_smp_cback()
[all …]
Dbtm_sec.cc422 uint8_t service_id, uint16_t sec_level, uint16_t psm, in BTM_SetSecurityLevel() argument
429 BTM_TRACE_API("%s : sec: 0x%x", __func__, sec_level); in BTM_SetSecurityLevel()
498 sec_level &= in BTM_SetSecurityLevel()
505 if (sec_level & BTM_SEC_OUT_AUTHENTICATE) sec_level |= BTM_SEC_OUT_MITM; in BTM_SetSecurityLevel()
509 if (sec_level & BTM_SEC_OUT_ENCRYPT) sec_level |= BTM_SEC_OUT_AUTHENTICATE; in BTM_SetSecurityLevel()
532 sec_level &= ~(BTM_SEC_OUT_AUTHORIZE | BTM_SEC_OUT_ENCRYPT | in BTM_SetSecurityLevel()
538 if (sec_level & BTM_SEC_IN_AUTHENTICATE) sec_level |= BTM_SEC_IN_MITM; in BTM_SetSecurityLevel()
542 if (sec_level & BTM_SEC_IN_ENCRYPT) sec_level |= BTM_SEC_IN_AUTHENTICATE; in BTM_SetSecurityLevel()
545 p_srec->security_flags |= (uint16_t)(sec_level | BTM_SEC_IN_USE); in BTM_SetSecurityLevel()
Dbtm_int_types.h407 uint8_t sec_level; /* local pairing security level */ member
/system/bt/stack/include/
Dbtm_api_types.h1348 uint8_t sec_level; member
1358 uint8_t sec_level; member
1366 uint8_t sec_level; member
1374 uint8_t sec_level; member
1381 uint8_t sec_level; member
Dsmp_api_types.h210 tSMP_SEC_LEVEL sec_level; member
Dbtm_api.h1065 uint8_t service_id, uint16_t sec_level,
/system/bt/main/shim/
Dbtm_api.h1620 uint8_t service_id, uint16_t sec_level, uint16_t psm,