Home
last modified time | relevance | path

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

/test/xts/acts/security/huks/huks_napi_BasicTest/src/
H A Dhuks_cipher_sm4_test_common.cpp75 struct OH_Huks_Param *modeParam = nullptr; in HksSm4CipherTestCaseOther() local
76 OH_Huks_GetParam(genParamSet, OH_HUKS_TAG_BLOCK_MODE, &modeParam); in HksSm4CipherTestCaseOther()
77 if (modeParam->uint32Param == OH_HUKS_MODE_ECB) { in HksSm4CipherTestCaseOther()
H A Dhuks_cipher_aes_test_common.cpp77 struct OH_Huks_Param *modeParam = nullptr; in HksAesCipherTestCaseOther() local
78 OH_Huks_Result ret = OH_Huks_GetParam(genParamSet, OH_HUKS_TAG_BLOCK_MODE, &modeParam); in HksAesCipherTestCaseOther()
79 if (modeParam->uint32Param == OH_HUKS_MODE_ECB) { in HksAesCipherTestCaseOther()
/test/xts/acts/security_lite/huks/common/
H A 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()

Completed in 2 milliseconds