Searched refs:algomode (Results 1 – 3 of 3) sorted by relevance
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()293 enum cryp_algo_mode algomode; in cryp_save_device_context() local332 algomode = ((ctx->cr & CRYP_CR_ALGOMODE_MASK) >> CRYP_CR_ALGOMODE_POS); in cryp_save_device_context()333 if (algomode == CRYP_ALGO_TDES_CBC || in cryp_save_device_context()334 algomode == CRYP_ALGO_DES_CBC || in cryp_save_device_context()335 algomode == CRYP_ALGO_AES_CBC) { in cryp_save_device_context()379 if (config->algomode == CRYP_ALGO_TDES_CBC || in cryp_restore_device_context()380 config->algomode == CRYP_ALGO_DES_CBC || in cryp_restore_device_context()[all …]
244 if (ctx->config.algomode == CRYP_ALGO_AES_XTS) { in cryp_interrupt_handler()345 if (mode_is_aes(ctx->config.algomode)) { in cfg_keys()396 CRYP_ALGO_AES_ECB != ctx->config.algomode && in cryp_setup_context()397 CRYP_ALGO_DES_ECB != ctx->config.algomode && in cryp_setup_context()398 CRYP_ALGO_TDES_ECB != ctx->config.algomode) { in cryp_setup_context()1065 if (cryp_mode == CRYP_MODE_DMA && mode_is_aes(ctx->config.algomode)) in cryp_blk_encrypt()1082 if (cryp_mode == CRYP_MODE_DMA && mode_is_aes(ctx->config.algomode)) in cryp_blk_decrypt()1090 enum cryp_algo_mode algomode; member1102 ctx->config.algomode = cryp_alg->algomode; in cryp_cra_init()1110 .algomode = CRYP_ALGO_AES_ECB,[all …]
91 enum cryp_algo_mode algomode; member