Home
last modified time | relevance | path

Searched refs:HKS_ERROR_INVALID_KEY_FILE (Results 1 – 23 of 23) sorted by relevance

/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage_lite.c163 return HKS_ERROR_INVALID_KEY_FILE; in FreshImageBuffer()
174 return HKS_ERROR_INVALID_KEY_FILE; in FreshImageBuffer()
208 return HKS_ERROR_INVALID_KEY_FILE; in CheckKeyInfoHeaderValid()
339 return HKS_ERROR_INVALID_KEY_FILE; in GetKeyOffsetByKeyAlias()
351 return HKS_ERROR_INVALID_KEY_FILE; in GetKeyOffsetByKeyAlias()
359 return HKS_ERROR_INVALID_KEY_FILE; in GetKeyOffsetByKeyAlias()
366 return HKS_ERROR_INVALID_KEY_FILE; in GetKeyOffsetByKeyAlias()
423 return HKS_ERROR_INVALID_KEY_FILE; in AppendNewKey()
478 return HKS_ERROR_INVALID_KEY_FILE; in DeleteKey()
723 return HKS_ERROR_INVALID_KEY_FILE; in HksGetKeyCountByProcessName()
[all …]
Dhks_client_service_util.c92 return HKS_ERROR_INVALID_KEY_FILE; in GetKeyFileData()
Dhks_upgrade_helper.c119 return HKS_ERROR_INVALID_KEY_FILE; in HksDeleteOldKeyForSmallToService()
Dhks_storage.c180 ret = HKS_ERROR_INVALID_KEY_FILE; /* keyfile name invalid */ in ConstructBlob()
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_base_check_test.cpp264 ASSERT_EQ(ret, HKS_ERROR_INVALID_KEY_FILE) << "HksGetKeySize failed, ret = " << ret;
278 ASSERT_EQ(ret, HKS_ERROR_INVALID_KEY_FILE) << "HksGetKeySize failed, ret = " << ret;
357 ASSERT_EQ(ret, HKS_ERROR_INVALID_KEY_FILE) << "HksGetKeySize failed, ret = " << ret;
/base/security/huks/interfaces/inner_api/huks_lite/
Dhks_errno.h88 #define HKS_ERROR_INVALID_KEY_FILE ((int32_t)-1015) macro
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_rsa_ecb_oaep_sha512_mt.cpp186 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
210 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
232 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
256 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
278 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
302 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
Dhks_rsa_ecb_oaep_sha384_mt.cpp186 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
210 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
232 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
256 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
Dhks_rsa_ecb_oaep_sha256_mt.cpp186 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
210 .encryptResult = HKS_ERROR_INVALID_KEY_FILE,
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c783 return HKS_ERROR_INVALID_KEY_FILE; in CheckAndGetKeySize()
788 …HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_KEY_FILE, "check key size: paramset invalid fai… in CheckAndGetKeySize()
792 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_KEY_FILE, in CheckAndGetKeySize()
796 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_KEY_FILE, in CheckAndGetKeySize()
807 return HKS_ERROR_INVALID_KEY_FILE; in CheckAndGetKeySize()
813 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_KEY_FILE, in CheckAndGetKeySize()
1201 return HKS_ERROR_INVALID_KEY_FILE; in CheckRsaOaepCipherData()
1507 return HKS_ERROR_INVALID_KEY_FILE; in HksGetDsaKeySize()
1512 …HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_KEY_FILE, "check dsa key size: paramset invalid… in HksGetDsaKeySize()
1516 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_KEY_FILE, in HksGetDsaKeySize()
Dhks_errcode_adapter.c433 .innerErrCode = HKS_ERROR_INVALID_KEY_FILE,
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_file_operator.c143 return HKS_ERROR_INVALID_KEY_FILE; in FileWrite()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_rkc_rw.c246 return HKS_ERROR_INVALID_KEY_FILE; in RkcExtractKsfHash()
265 return HKS_ERROR_INVALID_KEY_FILE; in RkcExtractKsfHash()
462 return HKS_ERROR_INVALID_KEY_FILE; in RkcFillKsfHash()
Dhks_rkc.c79 return HKS_ERROR_INVALID_KEY_FILE; in ReadAllKsfRkc()
110 return HKS_ERROR_INVALID_KEY_FILE; in ReadAllKsfMk()
Dhks_rkc_v1.c85 return HKS_ERROR_INVALID_KEY_FILE; in RkcReadAllKsfV1()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_file_operator.c153 return HKS_ERROR_INVALID_KEY_FILE; in FileWrite()
/base/security/huks/utils/file_operator/
Dhks_file_operator.c139 return HKS_ERROR_INVALID_KEY_FILE; in FileWrite()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h341 HKS_ERROR_INVALID_KEY_FILE = -27, enumerator
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_keyblob_lite.c209 return HKS_ERROR_INVALID_KEY_FILE; in Ed25519BlobToKeyMaterial()
Dhks_core_service_three_stage.c77 return HKS_ERROR_INVALID_KEY_FILE; in CheckRsaCipherData()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c82 if ((res != HKS_ERROR_INVALID_KEY_FILE) && (res != HKS_ERROR_CRYPTO_ENGINE_ERROR) && in InitHks()
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp361 AddInt32Property(env, errorCode, "HUKS_ERROR_INVALID_KEY_FILE", HKS_ERROR_INVALID_KEY_FILE); in AddHuksErrorCodePart1()
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
Dhuks_adapter.c1641 if ((ret != HKS_ERROR_INVALID_KEY_FILE) && (ret != HKS_ERROR_CRYPTO_ENGINE_ERROR) && in key_info_init()