Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_act.c411 le_key.sec_level = p_cb->sec_level; in smp_send_enc_info()
456 key.sec_level = p_cb->sec_level; in smp_send_csrk_info()
1023 le_key.sec_level = p_cb->sec_level; in smp_proc_master_id()
1087 le_key.sec_level = p_cb->sec_level; in smp_proc_srk_info()
1365 p_cb->sec_level = SMP_SEC_UNAUTHENTICATE; in smp_decide_association_model()
1366 SMP_TRACE_EVENT ("p_cb->sec_level =%d (SMP_SEC_UNAUTHENTICATE) ", p_cb->sec_level ); in smp_decide_association_model()
1379 p_cb->sec_level = SMP_SEC_AUTHENTICATED; in smp_decide_association_model()
1380 SMP_TRACE_EVENT ("p_cb->sec_level =%d (SMP_SEC_AUTHENTICATED) ", p_cb->sec_level ); in smp_decide_association_model()
1388 p_cb->sec_level = SMP_SEC_AUTHENTICATED; in smp_decide_association_model()
1389 SMP_TRACE_EVENT ("p_cb->sec_level =%d (SMP_SEC_AUTHENTICATED) ", p_cb->sec_level ); in smp_decide_association_model()
[all …]
Dsmp_utils.c946 evt_data.cmplt.sec_level = p_cb->sec_level; in smp_proc_pairing_cmpl()
956 evt_data.cmplt.sec_level ); in smp_proc_pairing_cmpl()
1470 lle_key.sec_level = p_cb->sec_level; in smp_save_secure_connections_long_term_key()
1477 ple_key.sec_level = p_cb->sec_level; in smp_save_secure_connections_long_term_key()
Dsmp_keys.c1964 if (p_cb->sec_level == SMP_SEC_AUTHENTICATED) in smp_calculate_link_key_from_long_term_key()
1972 if (p_cb->sec_level == SMP_SEC_AUTHENTICATED) in smp_calculate_link_key_from_long_term_key()
2066 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.h287 tSMP_SEC_LEVEL sec_level; member
/system/bt/stack/btm/
Dbtm_ble.c1216 p_rec->ble.keys.sec_level = p_keys->penc_key.sec_level; in btm_sec_save_le_key()
1221 if (p_keys->penc_key.sec_level == SMP_SEC_AUTHENTICATED) in btm_sec_save_le_key()
1228 p_rec->ble.keys.sec_level); in btm_sec_save_le_key()
1250 p_rec->ble.keys.srk_sec_level = p_keys->pcsrk_key.sec_level; in btm_sec_save_le_key()
1254 if ( p_keys->pcsrk_key.sec_level== SMP_SEC_AUTHENTICATED) in btm_sec_save_le_key()
1269 p_rec->ble.keys.sec_level = p_keys->lenc_key.sec_level; in btm_sec_save_le_key()
1277 p_rec->ble.keys.sec_level ); in btm_sec_save_le_key()
1283 p_rec->ble.keys.local_csrk_sec_level = p_keys->lcsrk_key.sec_level; in btm_sec_save_le_key()
1419 cur_sec_level = p_dev_rec->ble.keys.sec_level; in btm_ble_link_sec_check()
2093 …_COMPLT_EVT before update sec_level=0x%x sec_flags=0x%x", p_data->cmplt.sec_level , p_dev_rec->sec… in btm_proc_smp_cback()
[all …]
Dbtm_sec.c97 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
479 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id, in BTM_SetSecurityLevel() argument
491 sec_level, psm, mx_proto_id, mx_chan_id)); in BTM_SetSecurityLevel()
494 sec_level, psm, mx_proto_id, mx_chan_id)); in BTM_SetSecurityLevel()
518 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id, in btm_sec_set_security_level() argument
546 BTM_TRACE_API("%s : sec: 0x%x", __func__, sec_level); in btm_sec_set_security_level()
627 sec_level &= ~(BTM_SEC_IN_AUTHORIZE | BTM_SEC_IN_ENCRYPT | BTM_SEC_IN_AUTHENTICATE in btm_sec_set_security_level()
634 if (sec_level & BTM_SEC_OUT_AUTHENTICATE) in btm_sec_set_security_level()
635 sec_level |= BTM_SEC_OUT_MITM; in btm_sec_set_security_level()
639 if (sec_level & BTM_SEC_OUT_ENCRYPT) in btm_sec_set_security_level()
[all …]
Dbtm_int.h461 UINT8 sec_level; /* local pairing security level */ member
/system/bt/stack/include/
Dbtm_api.h1627 UINT8 sec_level; member
1639 UINT8 sec_level; member
1648 UINT8 sec_level; member
1657 UINT8 sec_level; member
1665 UINT8 sec_level; member
3267 UINT8 service_id, UINT16 sec_level,
Dsmp_api.h228 tSMP_SEC_LEVEL sec_level; member