Lines Matching refs:paramAlgorithm
271 const struct HksParam *paramAlgorithm[] = { in ParamForCipher() local
275 const uint32_t count = sizeof(paramAlgorithm) / sizeof(struct HksParam *); in ParamForCipher()
277 HksAddParams(paramInSet, paramAlgorithm[index], 1); in ParamForCipher()
278 if (paramAlgorithm[index]->uint32Param == HKS_ALG_AES) { in ParamForCipher()
280 } else if (paramAlgorithm[index]->uint32Param == HKS_ALG_RSA) { in ParamForCipher()
395 const struct HksParam *paramAlgorithm[] = { in ParamForSign() local
402 const uint32_t count = sizeof(paramAlgorithm) / sizeof(struct HksParam *); in ParamForSign()
404 HksAddParams(paramInSet, paramAlgorithm[index], 1); in ParamForSign()
405 if (paramAlgorithm[index]->uint32Param == HKS_ALG_RSA) { in ParamForSign()
407 } else if (paramAlgorithm[index]->uint32Param == HKS_ALG_ECC) { in ParamForSign()
409 } else if (paramAlgorithm[index]->uint32Param == HKS_ALG_DSA) { in ParamForSign()