Home
last modified time | relevance | path

Searched refs:HKS_ERROR_INVALID_PURPOSE (Results 1 – 10 of 10) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_base_check_test.cpp181 ASSERT_EQ(ret, HKS_ERROR_INVALID_PURPOSE) << "CheckImportMutableParams failed, ret = " << ret;
196 ASSERT_EQ(ret, HKS_ERROR_INVALID_PURPOSE) << "CheckImportMutableParams failed, ret = " << ret;
211 ASSERT_EQ(ret, HKS_ERROR_INVALID_PURPOSE) << "CheckImportMutableParams failed, ret = " << ret;
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_base_check.c758 return (purposeCount == 1) ? HKS_SUCCESS : HKS_ERROR_INVALID_PURPOSE; in CheckPurposeUnique()
786 return HKS_ERROR_INVALID_PURPOSE; in CheckPurposeValid()
1525 return HKS_ERROR_INVALID_PURPOSE; in HksCheckOptionalParam()
1578 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_INVALID_PURPOSE, in HksCheckFixedParams()
1630 return HKS_ERROR_INVALID_PURPOSE; in CheckImportMutableParams()
1637 return HKS_ERROR_INVALID_PURPOSE; in CheckImportMutableParams()
1643 return HKS_ERROR_INVALID_PURPOSE; in CheckImportMutableParams()
1706 return HKS_ERROR_INVALID_PURPOSE; in HksCheckSignVerifyMutableParams()
1711 return HKS_ERROR_INVALID_PURPOSE; in HksCheckSignVerifyMutableParams()
1746 return HKS_ERROR_INVALID_PURPOSE; in HksCheckCipherMutableParams()
[all …]
Dhks_check_paramset.c291 return HKS_ERROR_INVALID_PURPOSE; in CheckGenKeyMacDeriveParams()
664 return HKS_ERROR_INVALID_PURPOSE; in CheckMutableParams()
671 return HKS_ERROR_INVALID_PURPOSE; in CheckMutableParams()
679 return HKS_ERROR_INVALID_PURPOSE; in CheckMutableParams()
970 return HKS_ERROR_INVALID_PURPOSE; in HksCoreCheckDeriveKeyParams()
994 return HKS_ERROR_INVALID_PURPOSE; in CheckMacPurpose()
Dhks_errcode_adapter.c299 .innerErrCode = HKS_ERROR_INVALID_PURPOSE,
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_inner_test.cpp108 ASSERT_EQ(ret, HKS_ERROR_INVALID_PURPOSE);
117 ASSERT_EQ(ret, HKS_ERROR_INVALID_PURPOSE);
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_sm2_sign_verify_test.cpp115 HKS_ERROR_INVALID_PURPOSE,
304 HKS_ERROR_INVALID_PURPOSE,
Dhks_import_wrapped_test_common.cpp222 …EXPECT_EQ(ret, HKS_ERROR_INVALID_PURPOSE) << "Import unwrap purpose wrapped key shouldn't be succe… in ImportWrappedKey()
Dhks_import_key_test.cpp448 .importKeyResult = HKS_ERROR_INVALID_PURPOSE,
461 .importKeyResult = HKS_ERROR_INVALID_PURPOSE,
/base/security/huks/interfaces/innerkits/huks_standard/main/include/
Dhks_type.h302 HKS_ERROR_INVALID_PURPOSE = -115, enumerator
/base/security/huks/interfaces/kits/napi/src/
Dhuks_napi.cpp396 AddInt32Property(env, errorCode, "HUKS_ERROR_INVALID_PURPOSE", HKS_ERROR_INVALID_PURPOSE); in AddHuksErrorCodePart2()