Home
last modified time | relevance | path

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

/test/xts/acts/security/huks_napi_BasicTest/src/
Dhuks_cipher_sm4_test_common.cpp72 struct OH_Huks_Param *modeParam = nullptr; in HksSm4CipherTestCaseOther() local
73 OH_Huks_GetParam(genParamSet, OH_HUKS_TAG_BLOCK_MODE, &modeParam); in HksSm4CipherTestCaseOther()
74 if (modeParam->uint32Param == OH_HUKS_MODE_ECB) { in HksSm4CipherTestCaseOther()
Dhuks_cipher_aes_test_common.cpp81 struct OH_Huks_Param *modeParam = nullptr; in HksAesCipherTestCaseOther() local
82 OH_Huks_Result ret = OH_Huks_GetParam(genParamSet, OH_HUKS_TAG_BLOCK_MODE, &modeParam); in HksAesCipherTestCaseOther()
83 if (modeParam->uint32Param == OH_HUKS_MODE_ECB) in HksAesCipherTestCaseOther()
/test/xts/acts/security_lite/huks/common/
Dhks_test_aes.c55 struct HksParam modeParam = {0}; in ConstructParamSetEncryptDecryptAesPre() local
56 modeParam.tag = HKS_TAG_BLOCK_MODE; in ConstructParamSetEncryptDecryptAesPre()
57 modeParam.uint32Param = mode; in ConstructParamSetEncryptDecryptAesPre()
58 ret = HksAddParams(*paramSet, (const struct HksParam *)&modeParam, 1); in ConstructParamSetEncryptDecryptAesPre()