Searched refs:IS_ALGOMODE (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/drivers/crypto/stm32/ |
| H A D | stm32_cryp.c | 165 #define IS_ALGOMODE(cr, mod) \ macro 186 return !IS_ALGOMODE(cr, TDES_ECB) && !IS_ALGOMODE(cr, DES_ECB) && in algo_mode_needs_iv() 187 !IS_ALGOMODE(cr, AES_ECB); in algo_mode_needs_iv() 213 return (IS_ALGOMODE(cr, AES_GCM) && is_encrypt(cr)) || in does_need_npblb() 214 (IS_ALGOMODE(cr, AES_CCM) && is_decrypt(cr)); in does_need_npblb() 368 if (IS_ALGOMODE(ctx->cr, AES_GCM) || IS_ALGOMODE(ctx->cr, AES_CCM)) in cryp_save_suspend() 374 if (IS_ALGOMODE(ctx->cr, AES_GCM)) in cryp_save_suspend() 384 if (IS_ALGOMODE(ctx->cr, AES_GCM) || IS_ALGOMODE(ctx->cr, AES_CCM)) in cryp_restore_suspend() 389 if (IS_ALGOMODE(ctx->cr, AES_GCM)) in cryp_restore_suspend() 421 if (is_decrypt(ctx->cr) && (IS_ALGOMODE(ctx->cr, AES_ECB) || in cryp_prepare_key() [all …]
|