Home
last modified time | relevance | path

Searched refs:HKS_ERROR_INTERNAL_ERROR (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
H A Dhks_client_service_passthrough.c40 … HKS_IF_NOT_SUCC_LOGE_RETURN(HksGetUserId(userId), HKS_ERROR_INTERNAL_ERROR, "get user id failed") in GetProcessInfo()
64 …F_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSetIn, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientGenerateKey()
82 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientImportKey()
100 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientImportWrappedKey()
119 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientExportPublicKey()
136 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientDeleteKey()
171 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientKeyExist()
189 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientSign()
207 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientVerify()
225 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientEncrypt()
[all …]
/ohos5.0/base/security/huks/utils/file_operator/
H A Dhks_file_operator.c40 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
45 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
50 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
54 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
231 return HKS_ERROR_INTERNAL_ERROR; in FileRemove()
385 return HKS_ERROR_INTERNAL_ERROR; in HksDeletDirPartTwo()
397 return HKS_ERROR_INTERNAL_ERROR; in HksDeletDirPartTwo()
420 return HKS_ERROR_INTERNAL_ERROR; in HksDeletDirPartOne()
432 return HKS_ERROR_INTERNAL_ERROR; in HksDeletDirPartOne()
461 return HKS_ERROR_INTERNAL_ERROR; in HksDeleteDir()
[all …]
H A Dhks_file_operator_lite.c55 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
60 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
65 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
69 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/
H A Dhks_test_file_operator_func.c23 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
28 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
33 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
37 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
H A Dhks_file_operator_test.cpp156 ASSERT_EQ(ret, HKS_ERROR_INTERNAL_ERROR) << "HksIsFileExist failed, ret = " << ret;
185 ASSERT_EQ(ret, HKS_ERROR_INTERNAL_ERROR) << "HksFileRemove failed, ret = " << ret;
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core_dependency/src/
H A Dhks_chipset_platform_key_hardcoded.c69 return HKS_ERROR_INTERNAL_ERROR; in MallocAndFillFullHksPublicKey()
102 return HKS_ERROR_INTERNAL_ERROR; in MallocFullPlatformPrivateKey()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/
H A Dhks_rkc_rw.c40 … HKS_IF_NOT_SUCC_LOGE_RETURN(HksGetUserId(&userId), HKS_ERROR_INTERNAL_ERROR, "get user id failed") in GetProcessInfo()
41 …HKS_IF_NOT_SUCC_LOGE_RETURN(HksGetProcessName(&processName), HKS_ERROR_INTERNAL_ERROR, "get proces… in GetProcessInfo()
596 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INTERNAL_ERROR, "get process info failed") in KsfExist()
H A Dhks_rkc_v1.c228 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INTERNAL_ERROR, "get process info failed") in RkcDeleteAllKsfV1()
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage_utils.c211 return HKS_ERROR_INTERNAL_ERROR; in GetPath()
217 return HKS_ERROR_INTERNAL_ERROR; in GetPath()
/ohos5.0/base/security/huks/utils/crypto_adapter/
H A Dhks_client_service_adapter.c461 return HKS_ERROR_INTERNAL_ERROR; in X509PublicKeyToRsa()
479 return HKS_ERROR_INTERNAL_ERROR; in X509PublicKeyToRsa()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/common/src/
H A Dhks_errcode_adapter.c531 .innerErrCode = HKS_ERROR_INTERNAL_ERROR,
/ohos5.0/base/security/huks/interfaces/inner_api/huks_standard/main/include/
H A Dhks_type_enum.h380 HKS_ERROR_INTERNAL_ERROR = -999, enumerator
/ohos5.0/base/security/huks/interfaces/kits/napi/src/
H A Dhuks_napi.cpp443 AddInt32Property(env, errorCode, "HUKS_ERROR_INTERNAL_ERROR", HKS_ERROR_INTERNAL_ERROR); in AddHuksErrorCodePart2()