Searched refs:modeParam (Results 1 – 3 of 3) sorted by relevance
72 struct OH_Huks_Param *modeParam = nullptr; in HksSm4CipherTestCaseOther() local73 OH_Huks_GetParam(genParamSet, OH_HUKS_TAG_BLOCK_MODE, &modeParam); in HksSm4CipherTestCaseOther()74 if (modeParam->uint32Param == OH_HUKS_MODE_ECB) { in HksSm4CipherTestCaseOther()
81 struct OH_Huks_Param *modeParam = nullptr; in HksAesCipherTestCaseOther() local82 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()
55 struct HksParam modeParam = {0}; in ConstructParamSetEncryptDecryptAesPre() local56 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()