Home
last modified time | relevance | path

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

/base/security/huks/test/reliability/src/
Dapi_pressure_test.cpp124 const struct HksParam *paramPadding[] = { in AESModeRandForCiper() local
129 const uint32_t countOfPadding = sizeof(paramPadding) / sizeof(struct HksParam *); in AESModeRandForCiper()
135 HksAddParams(paramInSet, paramPadding[GetRandom() % countOfPadding], 1); in AESModeRandForCiper()
144 HksAddParams(paramInSet, paramPadding[GetRandom() % countOfPadding], 1); in AESModeRandForCiper()
222 const struct HksParam *paramPadding[] = { in ParamForRSACipher() local
237 const uint32_t countOfPadding = sizeof(paramPadding) / sizeof(struct HksParam *); in ParamForRSACipher()
240 HksAddParams(paramInSet, paramPadding[indexOfPadding], 1); in ParamForRSACipher()
241 if ((paramPadding[indexOfPadding]->uint32Param == HKS_PADDING_NONE) || in ParamForRSACipher()
242 (paramPadding[indexOfPadding]->uint32Param == HKS_PADDING_PKCS1_V1_5)) { in ParamForRSACipher()
245 } else if (paramPadding[indexOfPadding]->uint32Param == HKS_PADDING_OAEP) { in ParamForRSACipher()
[all …]