Home
last modified time | relevance | path

Searched refs:purposeParam (Results 1 – 3 of 3) sorted by relevance

/test/xts/acts/security_lite/huks/common/
Dhks_test_curve25519.c49 struct HksParam purposeParam = {0}; in TestGenerateEd25519Key() local
50 purposeParam.tag = HKS_TAG_PURPOSE; in TestGenerateEd25519Key()
51 purposeParam.uint32Param = HKS_KEY_PURPOSE_SIGN | HKS_KEY_PURPOSE_VERIFY; in TestGenerateEd25519Key()
52 ret = HksAddParams(paramSet, &purposeParam, 1); in TestGenerateEd25519Key()
84 struct HksParam purposeParam = {0}; in TestSignEd25519() local
85 purposeParam.tag = HKS_TAG_PURPOSE; in TestSignEd25519()
86 purposeParam.uint32Param = HKS_KEY_PURPOSE_SIGN; in TestSignEd25519()
87 ret = HksAddParams(paramSet, &purposeParam, 1); in TestSignEd25519()
125 struct HksParam purposeParam = {0}; in TestVerifyEd25519() local
126 purposeParam.tag = HKS_TAG_PURPOSE; in TestVerifyEd25519()
[all …]
Dhks_test_common.c120 struct HksParam purposeParam = {0}; in TestGenerateKeyParamSetPre() local
121 purposeParam.tag = HKS_TAG_PURPOSE; in TestGenerateKeyParamSetPre()
122 purposeParam.uint32Param = paramStruct->purpose; in TestGenerateKeyParamSetPre()
123 ret = HksAddParams(paramSet, (const struct HksParam *)&purposeParam, 1); in TestGenerateKeyParamSetPre()
243 struct HksParam purposeParam = {0}; in TestAesCipherParamSetPre() local
244 purposeParam.tag = HKS_TAG_PURPOSE; in TestAesCipherParamSetPre()
245 purposeParam.uint32Param = paramStruct->purpose; in TestAesCipherParamSetPre()
246 ret = HksAddParams(paramSet, (const struct HksParam *)&purposeParam, 1); in TestAesCipherParamSetPre()
342 struct HksParam purposeParam = {0}; in TestConstructMacParamSet() local
343 purposeParam.tag = HKS_TAG_PURPOSE; in TestConstructMacParamSet()
[all …]
Dhks_test_aes.c73 struct HksParam purposeParam = {0}; in ConstructParamSetEncryptDecryptAesPre() local
74 purposeParam.tag = HKS_TAG_PURPOSE; in ConstructParamSetEncryptDecryptAesPre()
76 purposeParam.uint32Param = HKS_KEY_PURPOSE_ENCRYPT; in ConstructParamSetEncryptDecryptAesPre()
78 purposeParam.uint32Param = HKS_KEY_PURPOSE_DECRYPT; in ConstructParamSetEncryptDecryptAesPre()
80 ret = HksAddParams(*paramSet, (const struct HksParam *)&purposeParam, 1); in ConstructParamSetEncryptDecryptAesPre()