Home
last modified time | relevance | path

Searched refs:tmpParam (Results 1 – 8 of 8) sorted by relevance

/test/xts/acts/security_lite/huks/common/
Dhks_test_common.c169 struct HksParam tmpParam = {0}; in TestGenerateKeyParamSetPost() local
170 tmpParam.tag = HKS_TAG_KEY_ROLE; in TestGenerateKeyParamSetPost()
171 tmpParam.uint32Param = 0xFFFFFFFF; in TestGenerateKeyParamSetPost()
172 ret = HksAddParams(paramSet, (const struct HksParam *)&tmpParam, 1); in TestGenerateKeyParamSetPost()
306 struct HksParam tmpParam = {0}; in TestAesCipherParamSetPost() local
307 tmpParam.tag = HKS_TAG_KEY_ROLE; in TestAesCipherParamSetPost()
308 tmpParam.uint32Param = 0xFFFFFFFF; in TestAesCipherParamSetPost()
309 ret = HksAddParams(paramSet, (const struct HksParam *)&tmpParam, 1); in TestAesCipherParamSetPost()
365 struct HksParam tmpParam = {0}; in TestConstructMacParamSet() local
366 tmpParam.tag = HKS_TAG_KEY_ROLE; in TestConstructMacParamSet()
[all …]
/test/xts/acts/security/huks_napi_BasicTest/src/
Dhuks_signverify_ecc_test_common.cpp33 struct OH_Huks_Param *tmpParam = NULL; in HksTestSignVerify() local
34 ret = OH_Huks_GetParam(paramSet, OH_HUKS_TAG_PURPOSE, &tmpParam); in HksTestSignVerify()
39 ret = TestUpdateFinish(&handle, paramSet, tmpParam->uint32Param, inData, outData); in HksTestSignVerify()
Dhuks_signverify_ed25519_test.cpp67 struct OH_Huks_Param *tmpParam = NULL; in HksTestSignVerify() local
68 ret = OH_Huks_GetParam(paramSet, OH_HUKS_TAG_PURPOSE, &tmpParam); in HksTestSignVerify()
73 ret = TestUpdateFinish(&handle, paramSet, tmpParam->uint32Param, inData, outData); in HksTestSignVerify()
Dhuks_signverify_dsa_test.cpp105 struct OH_Huks_Param *tmpParam = NULL; in HksTestSignVerify() local
106 ret = OH_Huks_GetParam(paramSet, OH_HUKS_TAG_PURPOSE, &tmpParam); in HksTestSignVerify()
111 ret = TestUpdateFinish(&handle, paramSet, tmpParam->uint32Param, inData, outData); in HksTestSignVerify()
Dhuks_signverify_rsa_test_common.cpp33 struct OH_Huks_Param *tmpParam = NULL; in HksTestSignVerify() local
34 ret = OH_Huks_GetParam(paramSet, OH_HUKS_TAG_PURPOSE, &tmpParam); in HksTestSignVerify()
39 ret = TestUpdateFinish(&handle, paramSet, tmpParam->uint32Param, inData, outData); in HksTestSignVerify()
Dhuks_signverify_sm2_test.cpp296 struct OH_Huks_Param *tmpParam = NULL; in HksTestSignVerify() local
297 ret = OH_Huks_GetParam(paramSet, OH_HUKS_TAG_PURPOSE, &tmpParam); in HksTestSignVerify()
302 ret = TestUpdateFinish(&handle, paramSet, tmpParam->uint32Param, inData, outData); in HksTestSignVerify()
Dhuks_attest_test_common.cpp179 …t(const struct OH_Huks_CertChain *certChain, const struct OH_Huks_Param tmpParam[], ParamType type) in ValidateCertChainTest() argument
194 ret = OH_Huks_AddParams(paramSet, tmpParam, paramCount); in ValidateCertChainTest()
/test/xts/acts/security/huks_napi_BasicTest/include/
Dhuks_attest_test_common.h60 …dateCertChainTest(const struct OH_Huks_CertChain *certChain, const struct OH_Huks_Param tmpParam[],