Home
last modified time | relevance | path

Searched refs:sm4 (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/btm/
Dbtm_sec.cc695 else if (p_dev_rec->sm4 & BTM_SM4_CONN_PEND) { in BTM_PINCodeReply()
822 p_dev_rec->sm4, p_dev_rec->hci_handle); in btm_sec_bond_by_transport()
839 BTM_TRACE_DEBUG("sec mode: %d sm4:x%x", btm_cb.security_mode, p_dev_rec->sm4); in btm_sec_bond_by_transport()
841 (p_dev_rec->sm4 == BTM_SM4_KNOWN)) { in btm_sec_bond_by_transport()
846 BTM_SEC_IS_SM4_UNKNOWN(p_dev_rec->sm4)) { in btm_sec_bond_by_transport()
848 if ((p_dev_rec->sm4 & BTM_SM4_CONN_PEND) == 0) { in btm_sec_bond_by_transport()
860 btm_pair_state_descr(btm_cb.pairing_state), p_dev_rec->sm4, in btm_sec_bond_by_transport()
1480 p_dev_rec->sm4 |= BTM_SM4_UPGRADE; in btm_sec_check_upgrade()
1537 (BTM_SM4_KNOWN == p_dev_rec->sm4) || in btm_sec_l2cap_access_req_by_requirement()
1538 (BTM_SEC_IS_SM4(p_dev_rec->sm4) && in btm_sec_l2cap_access_req_by_requirement()
[all …]
Dsecurity_device_record.h369 uint8_t sm4; /* BTM_SM4_TRUE, if the peer supports SM4 */ member
436 remote_version_info.ToString().c_str(), sm4, in ToString()
Dbtm_dev.cc181 p_dev_rec->sm4 = BTM_SM4_UNKNOWN; in BTM_SecClearSecurityFlags()
/system/bt/stack/smp/
Dsmp_keys.cc976 __func__, btm_cb.security_mode, p_dev_rec->sm4); in smp_calculate_link_key_from_long_term_key()
/system/bt/stack/acl/
Dbtm_acl.cc2946 if ((record.sm4 & BTM_SM4_TRUE) != BTM_SM4_UNKNOWN) return; in HACK_acl_check_sm4()
2963 record.sm4 = (HCI_SSP_HOST_SUPPORTED(p_acl->peer_lmp_feature_pages[1])) in HACK_acl_check_sm4()