Home
last modified time | relevance | path

Searched refs:credLevel (Results 1 – 9 of 9) 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()
186 dprintf(fd, "DEVICE_VERIFIED_LEVEL : %u" END_LINE, info->credInfo.credLevel); in DumpDeviceDetails()
251 uint32_t credLevel = 0; in PrintDefaultStatus() local
253 GetDefaultStatus(&requestResult, &verifyResult, &credLevel); in PrintDefaultStatus()
263 dprintf(fd, "SELF_CRED_LEVEL : %u" END_LINE, credLevel); in PrintDefaultStatus()
/base/security/device_security_level/services/dslm/
Ddslm_hievent.c52 event.secLevel = (int32_t)info->credInfo.credLevel; in ReportHiEventInfoSync()
77 event.secLevel = (int32_t)info->credInfo.credLevel; in ReportHiEventAppInvoke()
Ddslm_core_process.c129 if (deviceInfo->credInfo.credLevel != 0) { in OnMsgSendResultNotifier()
222 if (info->credInfo.credLevel > 0) { in InitSelfDeviceSecureLevel()
227 if (ret == SUCCESS && info->credInfo.credLevel > 0) { in InitSelfDeviceSecureLevel()
Ddslm_fsm_process.c175 if (info->credInfo.credLevel == 0) { in CheckNeedToResend()
244 if (state == STATE_SUCCESS || state == STATE_FAILED || deviceInfo->credInfo.credLevel != 0) { in ProcessSdkRequest()
296 …_LOG_INFO("ProcessVerifyCredMessage success, level is %{public}u", deviceInfo->credInfo.credLevel); in ProcessVerifyCredMessage()
334 cbInfo->level = devInfo->credInfo.credLevel; in RequestDoneChecker()
/base/security/device_security_level/oem_property/ohos/impl/
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()
Ddslm_ohos_init.c44 SECURITY_LOG_INFO("success, self security level is %{public}d", credInfo->credLevel); in InitOhosDslmCred()
/base/security/device_security_level/common/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.c511 if (sscanf_s(credInfo->securityLevel, "SL%u", &credInfo->credLevel) <= 0) { in CredentialCbToDslmCredInfo()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_test.cpp680 EXPECT_GE(info.credLevel, 1U);
944 EXPECT_GE(info->credInfo.credLevel, 1U);