/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_verify.c | 121 LOG_ERROR("fstat error, %d, filelen: %d", ret, (int)fileSt.st_size); in GetSignHead() 125 LOG_ERROR("find signature error"); in GetSignHead() 129 LOG_ERROR("hapCoreDirOffset error, %d", signInfo->hapCoreDirOffset); in GetSignHead() 134 LOG_ERROR("lseek error, %d", ret); in GetSignHead() 141 LOG_ERROR("readLen %d, %d", readLen, (int)sizeof(HwSignHead)); in GetSignHead() 153 LOG_ERROR("sign head magic invalid"); in GetSignHead() 162 LOG_ERROR("fullSignBlockOffset invalid"); in GetSignHead() 181 LOG_ERROR("find block head , read err %d, %d", readLen, (int)sizeof(BlockHead)); in FindBlockHead() 185 LOG_ERROR("find block type: %0x", type); in FindBlockHead() 191 LOG_ERROR("get sign block by type failed, type: %d", blockType); in FindBlockHead() [all …]
|
D | app_provision.c | 34 LOG_ERROR("memset failed"); in ProfInit() 54 LOG_ERROR("malloc error: %d", objLen + 1); in GetStringTag() 60 LOG_ERROR("strcpy error: %d", ret); in GetStringTag() 89 LOG_ERROR("array num 0"); in GetStringArrayTag() 95 LOG_ERROR("value is null"); in GetStringArrayTag() 105 LOG_ERROR("valuestring is NULL"); in GetStringArrayTag() 115 LOG_ERROR("str cpy error : %d", ret); in GetStringArrayTag() 131 LOG_ERROR("failed to get validity"); in GetProfValidity() 137 LOG_ERROR("failed to get not-before"); in GetProfValidity() 144 LOG_ERROR("failed to get not-after"); in GetProfValidity() [all …]
|
D | app_centraldirectory.c | 50 LOG_ERROR("memcpy_s fail"); in HapPutData() 58 LOG_ERROR("int32 value of out range: %d", value); in HapSetInt32() 73 LOG_ERROR("create buf fail, buf is null"); in CreateHapBuffer() 78 LOG_ERROR("create buf fail"); in CreateHapBuffer() 104 LOG_ERROR("mmap not ok"); in GetEocd() 113 LOG_ERROR("copy error"); in GetEocd() 132 LOG_ERROR("copy error"); in GetEocd() 141 LOG_ERROR("can not find eocd"); in GetEocd() 154 LOG_ERROR("find Eocd fail"); in FindSignature() 162 LOG_ERROR("core dir error"); in FindSignature() [all …]
|
D | app_file.c | 32 LOG_ERROR("file open error"); in InitVerify() 38 LOG_ERROR("path malloc error"); in InitVerify() 43 LOG_ERROR("file path error"); in InitVerify() 56 LOG_ERROR("MAP_FAILED %d", g_memoryPageSize); in InitVerify() 88 LOG_ERROR("MAP_FAILED"); in HapMMap()
|
D | app_verify_hap.c | 38 LOG_ERROR("signAlgorithm: %u error", signAlgorithm); in GetDigestAlgorithmId() 65 LOG_ERROR("memcpy_s fail"); in ComputeBlockHash() 103 LOG_ERROR("overflow count: %d, chunkDigestLen: %d", count, rootHashLen); in GetChunkSumCount() 196 LOG_ERROR("fread err: %d, %d", len, onceRead); in UpdateSmallBlock() 261 LOG_ERROR("fread err: %d, %d", len, centralDirSize); in ComputerCoreDirHash() 283 LOG_ERROR("fread err: %d, %d", len, signInfo->hapEocdSize); in ComputerEocdHash() 304 LOG_ERROR("alg error"); in VerifyIntegrityChunk() 310 LOG_ERROR("sum count error"); in VerifyIntegrityChunk() 335 LOG_ERROR("exit"); in VerifyIntegrityChunk()
|
/base/security/code_signature/interfaces/innerkits/local_code_sign/src/ |
D | local_code_sign_client.cpp | 35 LOG_ERROR("Create LocalCodeSignSvrRecipient failed."); in LocalCodeSignClient() 42 LOG_ERROR("OnRemoteDied remote is nullptr."); in OnRemoteDied() 55 LOG_ERROR("Get system ability mgr failed."); in StartSA() 64 LOG_ERROR("Load systemAbility failed, systemAbilityId:%{public}d ret code:%{public}d", in StartSA() 72 LOG_ERROR("code sign load SA timeout"); in StartSA() 84 LOG_ERROR("localCodeSignSvrRecipient_ is nullptr."); in FinishStartSA() 88 LOG_ERROR("AddDeathRecipient failed"); in FinishStartSA() 92 LOG_ERROR("Get code sign proxy failed."); in FinishStartSA() 114 LOG_ERROR("Get system ability mgr failed."); in CheckLocalCodeSignProxy() 141 LOG_ERROR("InitLocalCertificate err, error code = %{public}d", ret); in InitLocalCertificate() [all …]
|
D | local_code_sign_load_callback.cpp | 36 LOG_ERROR("start systemabilityId is not codesignSAId!"); in OnLoadSystemAbilitySuccess() 40 LOG_ERROR("remoteObject is nullptr"); in OnLoadSystemAbilitySuccess() 48 LOG_ERROR("load local code sign SA failed, systemAbilityId: %{public}d", systemAbilityId); in OnLoadSystemAbilityFail()
|
D | local_code_sign_proxy.cpp | 62 LOG_ERROR("Write interface token failed."); in SignLocalCode() 66 LOG_ERROR("Write string failed."); in SignLocalCode() 72 LOG_ERROR("Write ownerID string failed."); in SignLocalCode() 97 LOG_ERROR("Invalid reply data size."); in ReadResultFromReply()
|
/base/security/code_signature/test/unittest/mock/src/ |
D | hks_api_mock_helper.cpp | 48 LOG_ERROR("PemData is nullptr"); in PemToDer() 53 LOG_ERROR("Transferred in after malloc derData address."); in PemToDer() 58 LOG_ERROR("The length of derData is not equal to %{public}d", derLen); in PemToDer() 64 LOG_ERROR("Fail to create bio for cert."); in PemToDer() 70 LOG_ERROR("Fail to read bio"); in PemToDer() 84 LOG_ERROR("Memcpy failed"); in PemToDer()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/include/ |
D | app_common.h | 40 LOG_ERROR(#v" is null"); \ 49 LOG_ERROR(#v" is null"); \ 58 LOG_ERROR(#v" is null"); \ 67 LOG_ERROR(#v" not ok"); \ 76 LOG_ERROR(#v" is null"); \ 85 LOG_ERROR(#v" not ok"); \
|
/base/security/code_signature/utils/src/ |
D | huks_attest_verifier.cpp | 90 LOG_ERROR("Open file failed."); in AddCAToStore() 101 LOG_ERROR("add cert to X509 store failed"); in AddCAToStore() 131 LOG_ERROR("init X509_STORE_CTX failed."); in VerifyIssurCert() 140 LOG_ERROR("Verify cert failed, msg = %{public}s", X509_verify_cert_error_string(index)); in VerifyIssurCert() 157 LOG_ERROR("get pub key failed."); in VerifySigningCert() 161 LOG_ERROR("verify signing cert failed."); in VerifySigningCert() 218 LOG_ERROR("Get extension failed."); in VerifyExtension() 227 LOG_ERROR("Get ans1 object faild"); in VerifyExtension() 269 LOG_ERROR("Verify extension failed."); in VerifyCertAndExtension() 282 LOG_ERROR("Get cert chain failed."); in GetVerifiedCert() [all …]
|
D | pkcs7_generator.cpp | 71 LOG_ERROR("Generate signature failed, ret = %{public}d", ret); in GenerateSignature() 81 LOG_ERROR("GetDataToSign fail"); in SignData() 93 LOG_ERROR("AddSignatureInSignerInfo fail"); in SignData()
|
/base/security/code_signature/services/local_code_sign/src/ |
D | local_code_sign_service.cpp | 54 LOG_ERROR("Init LocalCodeSignService failed."); in OnStart() 59 LOG_ERROR("Publish service failed."); in OnStart() 80 LOG_ERROR("Get system ability mgr failed."); in DelayUnloadTask() 85 LOG_ERROR("Remove system ability failed."); in DelayUnloadTask() 104 LOG_ERROR("Init key failed."); in InitLocalCertificate() 114 …LOG_ERROR("ownerID len %{public}zu should not exceed %{public}u", ownerID.length(), MAX_OWNER_ID_L… in SignLocalCode() 124 LOG_ERROR("Generate formatted fsverity digest failed."); in SignLocalCode()
|
D | local_sign_key.cpp | 94 LOG_ERROR("set challenge failed."); in SetChallenge() 111 LOG_ERROR("HksKeyExist fail, ret is %{public}d!", ret); in InitKey() 132 LOG_ERROR("Alloc memory for cert blob failed."); in GetSignCert() 150 LOG_ERROR("QueryCertChain failed."); in GetCertChain() 174 LOG_ERROR("HksAttestKey fail, ret is %{public}d!", ret); in QueryCertChain() 231 LOG_ERROR("HksGenerateKey failed, ret is %{public}d!", ret); in GenerateKey() 248 LOG_ERROR("Data to sign is too long"); in Sign() 282 LOG_ERROR("HksInit failed"); in SignByHUKS() 293 LOG_ERROR("Alloc memory for blob failed."); in SignByHUKS() 298 LOG_ERROR("HksUpdate Failed."); in SignByHUKS() [all …]
|
/base/security/code_signature/test/unittest/utils/src/ |
D | xpm_common.cpp | 47 LOG_ERROR("init xpm region failed"); in GetXpmRegion() 55 LOG_ERROR("open xpm proc file failed(%{public}s)", strerror(errno)); in GetXpmRegion() 62 LOG_ERROR("read xpm proc file failed(%{public}s)", strerror(errno)); in GetXpmRegion() 68 LOG_ERROR("sscanf xpm region string failed(%{public}s)", strerror(errno)); in GetXpmRegion()
|
/base/security/code_signature/utils/include/ |
D | huks_param_set.h | 45 LOG_ERROR("HksInitParamSet failed"); in Init() 50 LOG_ERROR("HksAddParams failed"); in Init() 56 LOG_ERROR("HksBuildParamSet failed"); in Init()
|
D | fsverity_utils_helper.h | 57 LOG_ERROR("File is already opened."); in Open() 62 LOG_ERROR("Open file failed, path = %{public}s, errno = <%{public}d, %{public}s>", in Open() 73 LOG_ERROR("Stat file failed, errno = <%{public}d, %{public}s>", in GetFileSize()
|
/base/security/code_signature/interfaces/innerkits/code_sign_attr_utils/src/ |
D | code_sign_attr_utils.c | 42 LOG_ERROR("Ioctl cmd %{public}x failed: %{public}s (ignore)", cmd, strerror(errno)); in XpmIoctl() 65 LOG_ERROR("Input idType is invalid: %{public}u", idType); in SetXpmOwnerId() 72 LOG_ERROR("Memcpy ownerId failed, ownerId: %{public}s", ownerId); in SetXpmOwnerId()
|
/base/security/code_signature/services/key_enable/utils/src/ |
D | key_utils.cpp | 40 LOG_ERROR(LABEL, "Add certificate failed, errno = <%{public}d, %{public}s>", in AddKey() 55 LOG_ERROR(LABEL, "Restrict keyring failed, errno = <%{public}d, %{public}s>", in KeyctlRestrictKeyring()
|
D | cert_path.cpp | 35 …LOG_ERROR(LABEL, "Error opening device, errno = <%{public}d, %{public}s>", errno, strerror(errno)); in IoctlCertPathOperation() 41 LOG_ERROR( in IoctlCertPathOperation()
|
D | unlock_event_helper.cpp | 63 LOG_ERROR(LABEL, "unable get lock screen status"); in CheckUserUnlockByScreenLockManager() 94 LOG_ERROR(LABEL, "RegisterEvent result is err"); in RegisterEvent() 107 LOG_ERROR(LABEL, "UnregisterEvent result is err"); in UnregisterEvent()
|
/base/security/code_signature/interfaces/innerkits/code_sign_utils/src/ |
D | code_sign_utils.cpp | 52 LOG_ERROR(LOG_MESSAGE, ##__VA_ARGS__); \ 114 LOG_ERROR("Get attributes failed, errno = <%{public}d, %{public}s>", in IsSupportFsVerity() 130 LOG_ERROR("Get verity flags by ioctl failed. errno = <%{public}d, %{public}s>", in IsFsVerityEnabled() 151 LOG_ERROR("Open file failed, path = %{public}s, errno = <%{public}d, %{public}s>", in EnableCodeSignForFile() 173 LOG_ERROR("Enable fs-verity failed, errno = <%{public}d, %{public}s>", in EnableCodeSignForFile() 272 …LOG_ERROR("Enable key in profile failed. errno = <%{public}d, %{public}s>", errno, strerror(errno)… in EnableKeyInProfile() 282 …LOG_ERROR("Remove key in profile failed. errno = <%{public}d, %{public}s>", errno, strerror(errno)… in RemoveKeyInProfile()
|
/base/hiviewdfx/hilog/interfaces/native/innerkits/include/hilog_base/ |
D | log_base.h | 71 LOG_ERROR = 6, enumerator 97 #define HILOG_BASE_ERROR(type, ...) ((void)HiLogBasePrint((type), LOG_ERROR, LOG_DOMAIN, LOG_TAG, _…
|
/base/hiviewdfx/hilog/interfaces/native/kits/include/hilog/ |
D | log.h | 125 LOG_ERROR = 6, enumerator 230 #define OH_LOG_ERROR(type, ...) ((void)OH_LOG_Print((type), LOG_ERROR, LOG_DOMAIN, LOG_TAG, __VA_AR…
|
/base/hiviewdfx/faultloggerd/common/dfxlog/ |
D | dfx_log.h | 50 #define LOGE(fmt, ...) DFXLOG_PRINT(LOG_ERROR, "[%s:%d] " fmt, (FILENAME_), (__LINE__), ##__VA_ARGS… 62 #define DFXLOG_ERROR(fmt, ...) DFXLOG_PRINT(LOG_ERROR, fmt, ##__VA_ARGS__) 96 #define LOGE(fmt, ...) DFXLOG_STD_ARRAY_FILE(LOG_ERROR, fmt, ##__VA_ARGS__) 108 #define DFXLOG_ERROR(fmt, ...) DFXLOG_STD_ARRAY(LOG_ERROR, fmt, ##__VA_ARGS__)
|