Home
last modified time | relevance | path

Searched refs:needEncryption (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_br_sec.c71 reqInfo->needEncryption = !!(info->securityMode & GAP_SEC_OUT_ENCRYPTION); in GapAllocReqSecInfo()
74 reqInfo->needEncryption = true; in GapAllocReqSecInfo()
78 reqInfo->needEncryption = !!(info->securityMode & GAP_SEC_IN_ENCRYPTION); in GapAllocReqSecInfo()
81 reqInfo->needUnauthentication = reqInfo->needEncryption && !reqInfo->needAuthentication; in GapAllocReqSecInfo()
185 } else if (reqInfo->needEncryption) { in GapDoSecurityAction()
295 reqInfo->needEncryption = false; in GapRequestSecurityProcess()
302 …else if (reqInfo->needAuthentication || reqInfo->needUnauthentication || reqInfo->needEncryption) { in GapRequestSecurityProcess()
619 if (GapAddrCompare(&devInfo->addr, &reqInfo->addr) && reqInfo->needEncryption) { in GapUpdateSecurityStatusEncryptionSuccess()
620 reqInfo->needEncryption = false; in GapUpdateSecurityStatusEncryptionSuccess()
H A Dgap_def.h204 bool needEncryption; member