Lines Matching refs:cryp_config
107 * @cryp_config: Pointer to the configuration parameter
111 struct cryp_config *cryp_config,
116 if (NULL == device_data || NULL == cryp_config)
119 *control_register |= (cryp_config->keysize << CRYP_CR_KEYSIZE_POS);
122 if ((CRYP_ALGORITHM_DECRYPT == cryp_config->algodir) &&
123 ((CRYP_ALGO_AES_ECB == cryp_config->algomode) ||
124 (CRYP_ALGO_AES_CBC == cryp_config->algomode))) {
152 ((cryp_config->algomode << CRYP_CR_ALGOMODE_POS) |
153 (cryp_config->algodir << CRYP_CR_ALGODIR_POS));
295 struct cryp_config *config =
296 (struct cryp_config *)device_data->current_ctx;
356 struct cryp_config *config =
357 (struct cryp_config *)device_data->current_ctx;