Home
last modified time | relevance | path

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

/test/xts/acts/security_lite/huks/common/
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->digest; in TestGenerateKeyParamSetPre()
[all …]
/test/xts/acts/security_lite/huks/common/include/
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/
Dhks_generate_key_test.cpp93 struct GenerateKeyParamSetStructure paramStruct = { &paramSet, variable
103 ret = TestConstructGenerateKeyParamSet(&paramStruct);
Dhks_derive_test.cpp128 struct TestDeriveParamSetStructure paramStruct = { in DeriveKey() local
139 int32_t ret = TestConstructDeriveParamSet(&paramStruct); in DeriveKey()
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/
Dhks_generate_key_test.c118 struct GenerateKeyParamSetStructure paramStruct = { &paramSet, in ExecHksGenerateKeyTest001() local
128 ret = TestConstructGenerateKeyParamSet(&paramStruct); in ExecHksGenerateKeyTest001()
Dhks_agreement_test.c108 struct TestAgreeParamSetStructure paramStruct = { in AgreeKey() local
115 int32_t ret = TestConstructAgreeParamSet(&paramStruct); in AgreeKey()
Dhks_derive_test.c181 struct TestDeriveParamSetStructure paramStruct = { in DeriveKey() local
192 int32_t ret = TestConstructDeriveParamSet(&paramStruct); in DeriveKey()