Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/ux500/cryp/
Dcryp.c123 ((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()
293 enum cryp_algo_mode algomode; in cryp_save_device_context() local
335 algomode = ((ctx->cr & CRYP_CR_ALGOMODE_MASK) >> CRYP_CR_ALGOMODE_POS); in cryp_save_device_context()
336 if (algomode == CRYP_ALGO_TDES_CBC || in cryp_save_device_context()
337 algomode == CRYP_ALGO_DES_CBC || in cryp_save_device_context()
338 algomode == CRYP_ALGO_AES_CBC) { in cryp_save_device_context()
385 if (config->algomode == CRYP_ALGO_TDES_CBC || in cryp_restore_device_context()
386 config->algomode == CRYP_ALGO_DES_CBC || in cryp_restore_device_context()
[all …]
Dcryp_core.c235 if (ctx->config.algomode == CRYP_ALGO_AES_XTS) { in cryp_interrupt_handler()
338 if (mode_is_aes(ctx->config.algomode)) { in cfg_keys()
389 CRYP_ALGO_AES_ECB != ctx->config.algomode && in cryp_setup_context()
390 CRYP_ALGO_DES_ECB != ctx->config.algomode && in cryp_setup_context()
391 CRYP_ALGO_TDES_ECB != ctx->config.algomode) { in cryp_setup_context()
1024 if (cryp_mode == CRYP_MODE_DMA && mode_is_aes(ctx->config.algomode)) in cryp_blk_encrypt()
1041 if (cryp_mode == CRYP_MODE_DMA && mode_is_aes(ctx->config.algomode)) in cryp_blk_decrypt()
1049 enum cryp_algo_mode algomode; member
1061 ctx->config.algomode = cryp_alg->algomode; in cryp_init_tfm()
1069 .algomode = CRYP_ALGO_AES_ECB,
[all …]
Dcryp.h91 enum cryp_algo_mode algomode; member