Home
last modified time | relevance | path

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

/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_client_service_passthrough.c36 …HKS_IF_NOT_SUCC_LOGE_RETURN(HksGetProcessName(processName), HKS_ERROR_INTERNAL_ERROR, "get process… in GetProcessInfo()
40 … HKS_IF_NOT_SUCC_LOGE_RETURN(HksGetUserId(userId), HKS_ERROR_INTERNAL_ERROR, "get user id failed") in GetProcessInfo()
53 …HKS_IF_NOT_SUCC_LOGE_RETURN(HksGetProcessName(&processName), HKS_ERROR_INTERNAL_ERROR, "get proces… in HksClientRefreshKeyInfo()
64 …F_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSetIn, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientGenerateKey()
81 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientImportKey()
98 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientImportWrappedKey()
117 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientExportPublicKey()
134 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientDeleteKey()
150 … HKS_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(NULL, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientGetKeyParamSet()
167 …_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ERROR, in HksClientKeyExist()
[all …]
/base/security/huks/utils/file_operator/
Dhks_file_operator.c39 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
44 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
49 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
53 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
194 return HKS_ERROR_INTERNAL_ERROR; in FileRemove()
353 return HKS_ERROR_INTERNAL_ERROR; in HksDeletDirPartTwo()
359 return HKS_ERROR_INTERNAL_ERROR; in HksDeletDirPartTwo()
365 return HKS_ERROR_INTERNAL_ERROR; in HksDeletDirPartTwo()
388 return HKS_ERROR_INTERNAL_ERROR; in HksDeletDirPartOne()
394 return HKS_ERROR_INTERNAL_ERROR; in HksDeletDirPartOne()
[all …]
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()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_file_operator.c38 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
43 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
48 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
52 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_file_operator.c47 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
52 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
57 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
61 return HKS_ERROR_INTERNAL_ERROR; in GetFileName()
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage.c221 return HKS_ERROR_INTERNAL_ERROR; in GetPath()
696 return HKS_ERROR_INTERNAL_ERROR; in MakeSubPath()
699 return HKS_ERROR_INTERNAL_ERROR; in MakeSubPath()
702 return HKS_ERROR_INTERNAL_ERROR; in MakeSubPath()
730 HKS_IF_NOT_SUCC_RETURN(ret, HKS_ERROR_INTERNAL_ERROR) in MakeUserAndProcessNamePath()
736 return HKS_ERROR_INTERNAL_ERROR; in MakeUserAndProcessNamePath()
740 return HKS_ERROR_INTERNAL_ERROR; in MakeUserAndProcessNamePath()
744 HKS_IF_NOT_SUCC_RETURN(ret, HKS_ERROR_INTERNAL_ERROR) in MakeUserAndProcessNamePath()
774 HKS_IF_NOT_SUCC_RETURN(ret, HKS_ERROR_INTERNAL_ERROR) in GetStoreBakPath()
780 HKS_IF_NOT_SUCC_RETURN(ret HKS_ERROR_INTERNAL_ERROR) in GetStoreBakPath()
[all …]
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
Dhks_file_operator_test.cpp170 ASSERT_EQ(ret, HKS_ERROR_INTERNAL_ERROR) << "HksIsFileExist failed, ret = " << ret;
199 ASSERT_EQ(ret, HKS_ERROR_INTERNAL_ERROR) << "HksFileRemove failed, ret = " << ret;
/base/security/huks/services/huks_standard/huks_engine/main/core_dependency/src/
Dhks_chipset_platform_key_hardcoded.c69 return HKS_ERROR_INTERNAL_ERROR; in MallocAndFillFullHksPublicKey()
102 return HKS_ERROR_INTERNAL_ERROR; in MallocFullPlatformPrivateKey()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_rkc_rw.c39 … HKS_IF_NOT_SUCC_LOGE_RETURN(HksGetUserId(&userId), HKS_ERROR_INTERNAL_ERROR, "get user id failed") in GetProcessInfo()
40 …HKS_IF_NOT_SUCC_LOGE_RETURN(HksGetProcessName(&processName), HKS_ERROR_INTERNAL_ERROR, "get proces… in GetProcessInfo()
577 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INTERNAL_ERROR, "get process info failed") in KsfExist()
Dhks_rkc_v1.c227 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INTERNAL_ERROR, "get process info failed") in RkcDeleteAllKsfV1()
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter.c279 return HKS_ERROR_INTERNAL_ERROR; in Sm2ToX509PublicKey()
305 return HKS_ERROR_INTERNAL_ERROR; in Sm2ToX509PublicKey()
572 return HKS_ERROR_INTERNAL_ERROR; in X509PublicKeyToRsa()
590 return HKS_ERROR_INTERNAL_ERROR; in X509PublicKeyToRsa()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_errcode_adapter.c524 .innerErrCode = HKS_ERROR_INTERNAL_ERROR,
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h408 HKS_ERROR_INTERNAL_ERROR = -999, enumerator
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp418 AddInt32Property(env, errorCode, "HUKS_ERROR_INTERNAL_ERROR", HKS_ERROR_INTERNAL_ERROR); in AddHuksErrorCodePart2()