Home
last modified time | relevance | path

Searched refs:tmpParams (Results 1 – 15 of 15) sorted by relevance

/base/security/huks/test/reliability/src/
Dpressure_test.cpp182 struct HksParam tmpParams[] = { variable
192 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0]));
220 struct HksParam tmpParams[] = { variable
230 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0]));
267 struct HksParam tmpParams[] = { variable
277 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0]));
313 struct HksParam tmpParams[] = { variable
323 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0]));
351 struct HksParam tmpParams[] = { variable
361 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0]));
[all …]
Dapi_pressure_test.cpp538 struct HksParam tmpParams[] = { in GenerateKeyTest() local
547 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in GenerateKeyTest()
594 struct HksParam tmpParams[] = { in DeleteKeyTest() local
603 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in DeleteKeyTest()
648 struct HksParam tmpParams[] = { in GenerateRandomTest() local
654 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in GenerateRandomTest()
729 struct HksParam tmpParams[] = { in AgreeKeyTest() local
737 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in AgreeKeyTest()
858 struct HksParam tmpParams[] = { in SignScene() local
864 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in SignScene()
[all …]
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_session_max_test.cpp63 struct HksParam tmpParams[] = { in GenerateBaseKey() local
74 ASSERT_TRUE(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in GenerateBaseKey()
86 struct HksParam tmpParams[] = { in ConstructInitParamSet() local
95 ASSERT_TRUE(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in ConstructInitParamSet()
Dhks_test_aes.c153 struct HksParam tmpParams[] = { in GenerateBaseKey() local
170 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in GenerateBaseKey()
188 struct HksParam tmpParams[] = { in PlainPubKey() local
211 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in PlainPubKey()
217 struct HksParam tmpParams[] = { in SetKeyAliasTrue() local
240 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in SetKeyAliasTrue()
246 struct HksParam tmpParams[] = { in SetKeyAliasWrong() local
267 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in SetKeyAliasWrong()
305 struct HksParam tmpParams[] = { in ImportPubKey() local
322 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in ImportPubKey()
Dhks_device_sec_test.cpp153 struct HksParam tmpParams[] = { in TestGenerateKey() local
170 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in TestGenerateKey()
202 struct HksParam tmpParams[] = { in TestKeyAttest() local
217 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in TestKeyAttest()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_aes.c154 struct HksParam tmpParams[] = { in GenerateBaseKey() local
171 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in GenerateBaseKey()
189 struct HksParam tmpParams[] = { in PlainPubKey() local
212 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in PlainPubKey()
218 struct HksParam tmpParams[] = { in SetKeyAliasTrue() local
241 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in SetKeyAliasTrue()
247 struct HksParam tmpParams[] = { in SetKeyAliasWrong() local
268 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in SetKeyAliasWrong()
307 struct HksParam tmpParams[] = { in ImportPubKey() local
324 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in ImportPubKey()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_attest_key_test_common.cpp66 struct HksParam tmpParams[] = { in TestGenerateKey() local
83 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in TestGenerateKey()
146 int32_t GenerateParamSet(struct HksParamSet **paramSet, const struct HksParam tmpParams[], uint32_t… in GenerateParamSet() argument
154 if (tmpParams != nullptr) { in GenerateParamSet()
155 ret = HksAddParams(*paramSet, tmpParams, paramCount); in GenerateParamSet()
Dhks_access_control_test_common.cpp309 struct HksParam tmpParams; in HksBuildAuthtoken() local
334 tmpParams.tag = HKS_TAG_AUTH_TOKEN; in HksBuildAuthtoken()
335 tmpParams.blob.data = authToken; in HksBuildAuthtoken()
336 tmpParams.blob.size = AUTH_TOKEN_LEN; in HksBuildAuthtoken()
346 ret = HksAddParams(newParamSet, &tmpParams, 1); in HksBuildAuthtoken()
367 struct HksParam tmpParams; in HksBuildAuthTokenSecure() local
393 tmpParams.tag = HKS_TAG_AUTH_TOKEN; in HksBuildAuthTokenSecure()
394 tmpParams.blob.data = authToken; in HksBuildAuthTokenSecure()
395 tmpParams.blob.size = AUTH_TOKEN_LEN; in HksBuildAuthTokenSecure()
406 ret = HksAddParams(newParamSet, &tmpParams, 1); in HksBuildAuthTokenSecure()
Dhks_access_control_rsa_sign_verify_test_common.cpp36 const IDMParams &testIDMParams, struct HksParam *tmpParams) in RSAAuthTokenSign() argument
64 tmpParams->tag = HKS_TAG_AUTH_TOKEN; in RSAAuthTokenSign()
65 tmpParams->blob.data = authToken; in RSAAuthTokenSign()
66 tmpParams->blob.size = AUTH_TOKEN_LEN; in RSAAuthTokenSign()
70 static int32_t AddAuthTokenParam(struct HksParamSet **paramSet, const struct HksParam *tmpParams) in AddAuthTokenParam() argument
72 int32_t ret = HksAddParams(*paramSet, tmpParams, 1); in AddAuthTokenParam()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_get_key_info_list_test.cpp94 struct HksParam tmpParams[] = { in BuildParamSetForGenerateKey() local
110 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in BuildParamSetForGenerateKey()
/base/security/code_signature/services/local_code_sign/include/
Dlocal_sign_key.h47 bool Init(const struct HksParam tmpParams[], uint32_t paramCount) in Init() argument
54 ret = HksAddParams(paramSet, tmpParams, paramCount); in Init()
/base/security/device_security_level/oem_property/ohos/common/
Dhks_adapter.c69 struct HksParam tmpParams[] = { in HksGenerateKeyAdapter() local
80 … if (FillHksParamSet(&paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) != SUCCESS) { in HksGenerateKeyAdapter()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_attest_key_test_common.h61 int32_t GenerateParamSet(struct HksParamSet **paramSet, const struct HksParam tmpParams[], uint32_t…
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
Dhks_core_service_test.cpp218 struct HksParam tmpParams[] = { in TestGenerateKey() local
235 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in TestGenerateKey()
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/core/src/
Dhks_client_service_test.cpp70 struct HksParam tmpParams[] = { in TestGenerateKeyWithProcessInfo() local
87 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in TestGenerateKeyWithProcessInfo()