Searched refs:sec_level (Results 1 – 11 of 11) sorted by relevance
/system/bt/stack/smp/ |
D | smp_act.cc | 359 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 …]
|
D | smp_utils.cc | 940 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()
|
D | smp_keys.cc | 972 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()
|
D | smp_int.h | 271 tSMP_SEC_LEVEL sec_level; member
|
/system/bt/stack/btm/ |
D | btm_ble.cc | 1292 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 …]
|
D | btm_sec.cc | 422 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()
|
D | btm_int_types.h | 407 uint8_t sec_level; /* local pairing security level */ member
|
/system/bt/stack/include/ |
D | btm_api_types.h | 1348 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
|
D | smp_api_types.h | 210 tSMP_SEC_LEVEL sec_level; member
|
D | btm_api.h | 1065 uint8_t service_id, uint16_t sec_level,
|
/system/bt/main/shim/ |
D | btm_api.h | 1620 uint8_t service_id, uint16_t sec_level, uint16_t psm,
|