Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/ux500/cryp/
Dcryp.c111 struct cryp_config *cryp_config, in cryp_set_configuration() argument
116 if (NULL == device_data || NULL == cryp_config) in cryp_set_configuration()
119 *control_register |= (cryp_config->keysize << CRYP_CR_KEYSIZE_POS); in cryp_set_configuration()
122 if ((CRYP_ALGORITHM_DECRYPT == cryp_config->algodir) && in cryp_set_configuration()
123 ((CRYP_ALGO_AES_ECB == cryp_config->algomode) || in cryp_set_configuration()
124 (CRYP_ALGO_AES_CBC == cryp_config->algomode))) { in cryp_set_configuration()
152 ((cryp_config->algomode << CRYP_CR_ALGOMODE_POS) | in cryp_set_configuration()
153 (cryp_config->algodir << CRYP_CR_ALGODIR_POS)); in cryp_set_configuration()
295 struct cryp_config *config = in cryp_save_device_context()
296 (struct cryp_config *)device_data->current_ctx; in cryp_save_device_context()
[all …]
Dcryp.h89 struct cryp_config { struct
265 struct cryp_config *cryp_config,
Dcryp_core.c76 struct cryp_config config;