Home
last modified time | relevance | path

Searched refs:paramStruct (Results 1 - 8 of 8) sorted by relevance

/test/xts/acts/security_lite/huks/common/
H A Dhks_test_common.c95 static int32_t TestGenerateKeyParamSetPre(struct GenerateKeyParamSetStructure *paramStruct, in TestGenerateKeyParamSetPre() argument
98 if (!paramStruct->paramSetExist) { in TestGenerateKeyParamSetPre()
103 if (paramStruct->setAlg) { in TestGenerateKeyParamSetPre()
106 algParam.uint32Param = paramStruct->alg; in TestGenerateKeyParamSetPre()
111 if (paramStruct->setKeySize) { in TestGenerateKeyParamSetPre()
114 keySizeParam.uint32Param = paramStruct->keySize; in TestGenerateKeyParamSetPre()
119 if (paramStruct->setPurpose) { in TestGenerateKeyParamSetPre()
122 purposeParam.uint32Param = paramStruct->purpose; in TestGenerateKeyParamSetPre()
127 if (paramStruct->setDigest) { in TestGenerateKeyParamSetPre()
130 digestParam.uint32Param = paramStruct in TestGenerateKeyParamSetPre()
146 TestGenerateKeyParamSetPost(struct GenerateKeyParamSetStructure *paramStruct, struct HksParamSet *paramSet) TestGenerateKeyParamSetPost() argument
182 TestConstructGenerateKeyParamSet(struct GenerateKeyParamSetStructure *paramStruct) TestConstructGenerateKeyParamSet() argument
213 TestConstructRsaCipherParamSet(struct TestRsaCipherParamSet *paramStruct) TestConstructRsaCipherParamSet() argument
228 TestAesCipherParamSetPre(struct AesCipherParamSetStructure *paramStruct, struct HksParamSet *paramSet) TestAesCipherParamSetPre() argument
276 TestAesCipherParamSetPost(struct AesCipherParamSetStructure *paramStruct, struct HksParamSet *paramSet) TestAesCipherParamSetPost() argument
319 TestConstructAesCipherParamSet(struct AesCipherParamSetStructure *paramStruct) TestConstructAesCipherParamSet() argument
332 TestConstructMacParamSet(struct TestMacParamSetStructure *paramStruct) TestConstructMacParamSet() argument
378 TestConstructAgreeParamSet(struct TestAgreeParamSetStructure *paramStruct) TestConstructAgreeParamSet() argument
425 TestDeriveParamSetPre(struct TestDeriveParamSetStructure *paramStruct, struct HksParamSet *paramSet) TestDeriveParamSetPre() argument
465 TestDeriveParamSetPost(struct TestDeriveParamSetStructure *paramStruct, struct HksParamSet *paramSet) TestDeriveParamSetPost() argument
508 TestConstructDeriveParamSet(struct TestDeriveParamSetStructure *paramStruct) TestConstructDeriveParamSet() argument
566 struct GenerateKeyParamSetStructure paramStruct = { HuksGenerateKey() local
661 struct GenerateKeyParamSetStructure paramStruct = { GenerateLocalX25519Key() local
718 struct GenerateKeyParamSetStructure paramStruct = { TestGenDefaultKeyAndGetAlias() local
[all...]
/test/xts/acts/security_lite/huks/common/include/
H A Dhks_test_common.h395 int32_t TestConstructGenerateKeyParamSet(struct GenerateKeyParamSetStructure *paramStruct);
397 int32_t TestConstructRsaCipherParamSet(struct TestRsaCipherParamSet *paramStruct);
399 int32_t TestConstructAesCipherParamSet(struct AesCipherParamSetStructure *paramStruct);
401 int32_t TestConstructMacParamSet(struct TestMacParamSetStructure *paramStruct);
403 int32_t TestConstructAgreeParamSet(struct TestAgreeParamSetStructure *paramStruct);
408 int32_t TestConstructDeriveParamSet(struct TestDeriveParamSetStructure *paramStruct);
/test/xts/acts/security_lite/huks/liteos_a_adapter/
H A Dhks_generate_key_test.cpp93 struct GenerateKeyParamSetStructure paramStruct = { &paramSet, in HWTEST_F() local
103 ret = TestConstructGenerateKeyParamSet(&paramStruct); in HWTEST_F()
H A Dhks_derive_test.cpp128 struct TestDeriveParamSetStructure paramStruct = { in DeriveKey() local
139 int32_t ret = TestConstructDeriveParamSet(&paramStruct); in DeriveKey()
H A Dhks_agreement_test.cpp81 struct TestAgreeParamSetStructure paramStruct = { in AgreeKey() local
88 int32_t ret = TestConstructAgreeParamSet(&paramStruct); in AgreeKey()
/test/xts/acts/security_lite/huks/liteos_m_adapter/
H A Dhks_generate_key_test.c118 struct GenerateKeyParamSetStructure paramStruct = { &paramSet, in ExecHksGenerateKeyTest001() local
128 ret = TestConstructGenerateKeyParamSet(&paramStruct); in ExecHksGenerateKeyTest001()
H A Dhks_agreement_test.c108 struct TestAgreeParamSetStructure paramStruct = { in AgreeKey() local
115 int32_t ret = TestConstructAgreeParamSet(&paramStruct); in AgreeKey()
H A Dhks_derive_test.c181 struct TestDeriveParamSetStructure paramStruct = { in DeriveKey() local
192 int32_t ret = TestConstructDeriveParamSet(&paramStruct); in DeriveKey()

Completed in 9 milliseconds