Home
last modified time | relevance | path

Searched refs:HKS_ERROR_INVALID_ALGORITHM (Results 1 – 20 of 20) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_check_pur_part_test.cpp93 .initResult = HKS_ERROR_INVALID_ALGORITHM
141 .initResult = HKS_ERROR_INVALID_ALGORITHM
190 .initResult = HKS_ERROR_INVALID_ALGORITHM
237 .initResult = HKS_ERROR_INVALID_ALGORITHM
Dhks_import_agree_test.cpp993 return HKS_ERROR_INVALID_ALGORITHM; in ConstructImportedKey()
1074 return HKS_ERROR_INVALID_ALGORITHM; in ConstructAgreePubKey()
Dhks_sm2_sign_verify_test.cpp208 HKS_ERROR_INVALID_ALGORITHM,
Dhks_import_sign_verify_test.cpp740 return HKS_ERROR_INVALID_ALGORITHM; in ConstructImportedKey()
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_common.c120 return HKS_ERROR_INVALID_ALGORITHM; in GetHksPubKeyInnerFormat()
Dhks_client_service_adapter.c658 ret = HKS_ERROR_INVALID_ALGORITHM; in TranslateFromX509PublicKey()
664 ret = HKS_ERROR_INVALID_ALGORITHM; in TranslateFromX509PublicKey()
670 ret = HKS_ERROR_INVALID_ALGORITHM; in TranslateFromX509PublicKey()
676 ret = HKS_ERROR_INVALID_ALGORITHM; in TranslateFromX509PublicKey()
Dhks_client_service_adapter_lite.c426 ret = HKS_ERROR_INVALID_ALGORITHM; in TranslateFromX509PublicKey()
432 ret = HKS_ERROR_INVALID_ALGORITHM; in TranslateFromX509PublicKey()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c190 return HKS_ERROR_INVALID_ALGORITHM; in HksCheckFinishOutSize()
208 return HKS_ERROR_INVALID_ALGORITHM; in SignVerifyAuth()
221 return HKS_ERROR_INVALID_ALGORITHM; in AgreeAuth()
235 return HKS_ERROR_INVALID_ALGORITHM; in HmacAuth()
251 return HKS_ERROR_INVALID_ALGORITHM; in CipherAuth()
964 return HKS_ERROR_INVALID_ALGORITHM; in HksCoreCryptoThreeStageInit()
986 return HKS_ERROR_INVALID_ALGORITHM; in HksCoreCryptoThreeStageUpdate()
1010 return HKS_ERROR_INVALID_ALGORITHM; in HksCoreEncryptThreeStageFinish()
1034 return HKS_ERROR_INVALID_ALGORITHM; in HksCoreDecryptThreeStageFinish()
Dhks_attest_utils.c167 HKS_IF_NULL_LOGE_RETURN(signOid, HKS_ERROR_INVALID_ALGORITHM, "invalid digest\n") in GetRsaPublicKey()
Dhks_core_service.c306 return HKS_ERROR_INVALID_ALGORITHM; in CipherAuth()
325 return HKS_ERROR_INVALID_ALGORITHM; in SignVerifyAuth()
1012 return HKS_ERROR_INVALID_ALGORITHM; in GetPrivateOrPairInnerFormat()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c763 int32_t result = HKS_ERROR_INVALID_ALGORITHM; in GetInvalidPurpose()
909 return HKS_ERROR_INVALID_ALGORITHM; in InitInputParamsByAlg()
976 return HKS_ERROR_INVALID_ALGORITHM; in GetExpectParams()
1448 return HKS_ERROR_INVALID_ALGORITHM; in HksGetKeySize()
1473 return HKS_ERROR_INVALID_ALGORITHM; in HksGetKeySize()
1697 return HKS_ERROR_INVALID_ALGORITHM; in HksCheckSignature()
1776 return HKS_ERROR_INVALID_ALGORITHM; in HksCheckCipherMutableParams()
1799 return HKS_ERROR_INVALID_ALGORITHM; in HksCheckCihperData()
Dhks_check_paramset.c246 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_ALGORITHM, in CheckAndGetAlgorithm()
361 return HKS_ERROR_INVALID_ALGORITHM; in CheckImportKeySize()
373 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_ALGORITHM, in CheckAndGetWrappedKeyUnwrapAlgSuite()
649 return HKS_ERROR_INVALID_ALGORITHM; in CheckKeyLen()
686 return HKS_ERROR_INVALID_ALGORITHM; in CheckMutableParams()
Dhks_crypto_adapter.c577 return HKS_ERROR_INVALID_ALGORITHM; in HksSetKeyToMaterial()
589 return HKS_ERROR_INVALID_ALGORITHM; in HksGetKeyFromMaterial()
627 return HKS_ERROR_INVALID_ALGORITHM; in HksFormatKeyFromMaterial()
Dhks_errcode_adapter.c278 .innerErrCode = HKS_ERROR_INVALID_ALGORITHM,
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_base_check_test.cpp97 ASSERT_EQ(ret, HKS_ERROR_INVALID_ALGORITHM) << "HksCheckCihperData failed, ret = " << ret;
/base/security/huks/interfaces/innerkits/huks_standard/main/include/
Dhks_type.h299 HKS_ERROR_INVALID_ALGORITHM = -112, enumerator
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_inner_test.cpp361 ASSERT_EQ(ret, HKS_ERROR_INVALID_ALGORITHM);
/base/security/huks/frameworks/huks_standard/main/core/src/
Dhks_local_engine.c188 return HKS_ERROR_INVALID_ALGORITHM; in CheckLocalCipherParams()
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp393 AddInt32Property(env, errorCode, "HUKS_ERROR_INVALID_ALGORITHM", HKS_ERROR_INVALID_ALGORITHM); in AddHuksErrorCodePart2()
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_client_service.c679 return HKS_ERROR_INVALID_ALGORITHM; in GetAgreeBaseKey()