Home
last modified time | relevance | path

Searched refs:credLevel (Results 1 – 10 of 10) sorted by relevance

/base/security/device_security_level/services/dfx/
Ddslm_hidumper.c136 static void GetDefaultStatus(int32_t *requestResult, int32_t *verifyResult, uint32_t *credLevel) in GetDefaultStatus() argument
138 if (requestResult == NULL || verifyResult == NULL || credLevel == NULL) { in GetDefaultStatus()
156 *credLevel = info.credLevel; in GetDefaultStatus()
185 dprintf(fd, "DEVICE_VERIFIED_LEVEL : %u" END_LINE, info->credInfo.credLevel); in DumpDeviceDetails()
250 uint32_t credLevel = 0; in PrintDefaultStatus() local
252 GetDefaultStatus(&requestResult, &verifyResult, &credLevel); in PrintDefaultStatus()
262 dprintf(fd, "SELF_CRED_LEVEL : %u" END_LINE, credLevel); in PrintDefaultStatus()
/base/security/device_security_level/services/dslm/
Ddslm_core_process.c129 if (deviceInfo->credInfo.credLevel != 0) { in OnMsgSendResultNotifier()
221 info->credInfo.credLevel = (uint32_t)level; in InitSelfDeviceSecureLevel()
223 if (info->credInfo.credLevel > 0) { in InitSelfDeviceSecureLevel()
231 if (ret == SUCCESS && info->credInfo.credLevel > 0) { in InitSelfDeviceSecureLevel()
Ddslm_hievent.c52 event.secLevel = (int32_t)info->credInfo.credLevel; in ReportHiEventInfoSync()
77 event.secLevel = (int32_t)info->credInfo.credLevel; in ReportHiEventAppInvoke()
Ddslm_fsm_process.c176 if (info->credInfo.credLevel > 0) { in CheckNeedToResend()
179 if (info->credInfo.credLevel == 0) { in CheckNeedToResend()
195 info->credInfo.credLevel = *(int32_t *)para; in ProcessDeviceOnline()
249 if (state == STATE_SUCCESS || state == STATE_FAILED || deviceInfo->credInfo.credLevel != 0) { in ProcessSdkRequest()
301 …_LOG_INFO("ProcessVerifyCredMessage success, level is %{public}u", deviceInfo->credInfo.credLevel); in ProcessVerifyCredMessage()
339 cbInfo->level = devInfo->credInfo.credLevel; in RequestDoneChecker()
/base/security/device_security_level/oem_property/ohos/common/
Ddslm_ohos_verify.c49 if (info->credLevel > maxLevel) { in CheckCredInfo()
50 SECURITY_LOG_ERROR("cred level = %{public}d check error", info->credLevel); in CheckCredInfo()
51 info->credLevel = 0; in CheckCredInfo()
271 SECURITY_LOG_INFO("success, cred level = %{public}d", credInfo->credLevel); in VerifyStandardDslmCred()
/base/security/device_security_level/oem_property/ohos/standard/impl/
Ddslm_ohos_init.c44 SECURITY_LOG_INFO("success, self security level is %{public}d", credInfo->credLevel); in InitOhosDslmCred()
/base/security/device_security_level/oem_property/ohos/lite/impl/
Ddslm_ohos_init.c48 SECURITY_LOG_INFO("success, self security level is %{public}d", credInfo->credLevel); in InitOhosDslmCred()
/base/security/device_security_level/oem_property/include/
Ddslm_cred.h52 uint32_t credLevel; // the parsed level value, assigned only after verification. member
/base/security/device_security_level/oem_property/common/
Ddslm_credential_utils.c512 if (sscanf_s(credInfo->securityLevel, "SL%u", &credInfo->credLevel) <= 0) { in CredentialCbToDslmCredInfo()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_test.cpp1125 EXPECT_GE(info.credLevel, 1U);
1398 EXPECT_GE(info->credInfo.credLevel, 1U);