Searched refs:IS_ALGOMODE (Results 1 – 1 of 1) sorted by relevance
/optee_os-3.20.0/core/drivers/crypto/stm32/ |
A D | stm32_cryp.c | 176 #define IS_ALGOMODE(cr, mod) \ macro 200 return !IS_ALGOMODE(cr, TDES_ECB) && !IS_ALGOMODE(cr, DES_ECB) && in algo_mode_needs_iv() 201 !IS_ALGOMODE(cr, AES_ECB); in algo_mode_needs_iv() 370 if (IS_ALGOMODE(ctx->cr, AES_GCM) || IS_ALGOMODE(ctx->cr, AES_CCM)) in cryp_save_suspend() 376 if (IS_ALGOMODE(ctx->cr, AES_GCM)) in cryp_save_suspend() 386 if (IS_ALGOMODE(ctx->cr, AES_GCM) || IS_ALGOMODE(ctx->cr, AES_CCM)) in cryp_restore_suspend() 391 if (IS_ALGOMODE(ctx->cr, AES_GCM)) in cryp_restore_suspend() 424 IS_ALGOMODE(ctx->cr, AES_CBC))) { in cryp_prepare_key() 575 if (IS_ALGOMODE(ctx->cr, AES_CCM)) in do_from_init_to_phase() 1073 if (IS_ALGOMODE(ctx->cr, AES_GCM)) { in stm32_cryp_final() [all …]
|
Completed in 4 milliseconds