Home
last modified time | relevance | path

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

/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()
294 enum cryp_algo_mode algomode; in cryp_save_device_context() local
336 algomode = ((ctx->cr & CRYP_CR_ALGOMODE_MASK) >> CRYP_CR_ALGOMODE_POS); in cryp_save_device_context()
337 if (algomode == CRYP_ALGO_TDES_CBC || in cryp_save_device_context()
338 algomode == CRYP_ALGO_DES_CBC || in cryp_save_device_context()
339 algomode == CRYP_ALGO_AES_CBC) { in cryp_save_device_context()
386 if (config->algomode == CRYP_ALGO_TDES_CBC || in cryp_restore_device_context()
387 config->algomode == CRYP_ALGO_DES_CBC || in cryp_restore_device_context()
[all …]
Dcryp_core.c236 if (ctx->config.algomode == CRYP_ALGO_AES_XTS) { in cryp_interrupt_handler()
339 if (mode_is_aes(ctx->config.algomode)) { in cfg_keys()
390 CRYP_ALGO_AES_ECB != ctx->config.algomode && in cryp_setup_context()
391 CRYP_ALGO_DES_ECB != ctx->config.algomode && in cryp_setup_context()
392 CRYP_ALGO_TDES_ECB != ctx->config.algomode) { in cryp_setup_context()
1025 if (cryp_mode == CRYP_MODE_DMA && mode_is_aes(ctx->config.algomode)) in cryp_blk_encrypt()
1042 if (cryp_mode == CRYP_MODE_DMA && mode_is_aes(ctx->config.algomode)) in cryp_blk_decrypt()
1050 enum cryp_algo_mode algomode; member
1062 ctx->config.algomode = cryp_alg->algomode; in cryp_init_tfm()
1070 .algomode = CRYP_ALGO_AES_ECB,
[all …]
Dcryp.h91 enum cryp_algo_mode algomode; member