Lines Matching refs:algomode
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()
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()
388 config->algomode == CRYP_ALGO_AES_CBC) { in cryp_restore_device_context()