Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_sec.c936 else if (p_dev_rec->sm4 & BTM_SM4_CONN_PEND) in BTM_PINCodeReply()
1080 …BTM_TRACE_EVENT ("BTM_SecBond: Remote sm4: 0x%x HCI Handle: 0x%04x", p_dev_rec->sm4, p_dev_rec->h… in btm_sec_bond_by_transport()
1099 BTM_TRACE_DEBUG ("sec mode: %d sm4:x%x", btm_cb.security_mode, p_dev_rec->sm4); in btm_sec_bond_by_transport()
1101 || (p_dev_rec->sm4 == BTM_SM4_KNOWN)) in btm_sec_bond_by_transport()
1109 BTM_SEC_IS_SM4_UNKNOWN(p_dev_rec->sm4)) in btm_sec_bond_by_transport()
1112 if ((p_dev_rec->sm4 & BTM_SM4_CONN_PEND) == 0) in btm_sec_bond_by_transport()
1126 btm_pair_state_descr (btm_cb.pairing_state), p_dev_rec->sm4, p_dev_rec->sec_state); in btm_sec_bond_by_transport()
2074 p_dev_rec->sm4 |= BTM_SM4_UPGRADE; in btm_sec_check_upgrade()
2246 … psm, btm_pair_state_descr(btm_cb.pairing_state), btm_cb.security_mode, p_dev_rec->sm4); in btm_sec_l2cap_access_req()
2253 (BTM_SM4_KNOWN == p_dev_rec->sm4) || (BTM_SEC_IS_SM4(p_dev_rec->sm4) && in btm_sec_l2cap_access_req()
[all …]
Dbtm_dev.c155 p_dev_rec->sm4 = BTM_SM4_KNOWN; in BTM_SecAddDevice()
157 p_dev_rec->sm4 = BTM_SM4_TRUE; in BTM_SecAddDevice()
Dbtm_acl.c296 const UINT8 req_pend = (p_dev_rec->sm4 & BTM_SM4_REQ_PEND); in btm_acl_created()
984 const UINT8 req_pend = (p_dev_rec->sm4 & BTM_SM4_REQ_PEND); in btm_process_remote_ext_features()
Dbtm_int.h582 UINT8 sm4; /* BTM_SM4_TRUE, if the peer supports SM4 */ member
/system/bt/stack/smp/
Dsmp_keys.c1980 __func__, btm_cb.security_mode, p_dev_rec->sm4); in smp_calculate_link_key_from_long_term_key()
/system/tpm/trunks/
Dtpm_generated.h1227 TPMI_SM4_KEY_BITS sm4; member
1234 TPMI_ALG_SYM_MODE sm4; member
Dtpm_generated.cc5234 result = Serialize_TPMI_SM4_KEY_BITS(value.sm4, buffer); in Serialize_TPMU_SYM_KEY_BITS()
5271 &value->sm4, in Parse_TPMU_SYM_KEY_BITS()
5312 result = Serialize_TPMI_ALG_SYM_MODE(value.sm4, buffer); in Serialize_TPMU_SYM_MODE()
5346 &value->sm4, in Parse_TPMU_SYM_MODE()