Searched refs:IS_CHAINING_MODE (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/drivers/crypto/stm32/ |
| H A D | stm32_saes.c | 135 #define IS_CHAINING_MODE(mode, cr) \ macro 152 return !IS_CHAINING_MODE(ECB, cr); in does_chaining_mode_need_iv() 169 return (IS_CHAINING_MODE(GCM, cr) && is_encrypt(cr)) || in does_need_npblb() 170 (IS_CHAINING_MODE(CCM, cr) && is_decrypt(cr)); in does_need_npblb() 175 return !IS_CHAINING_MODE(GCM, cr); in can_suspend() 369 if ((IS_CHAINING_MODE(ECB, ctx->cr) || in saes_prepare_key() 370 IS_CHAINING_MODE(CBC, ctx->cr)) && is_decrypt(ctx->cr)) { in saes_prepare_key() 951 if (IS_CHAINING_MODE(GCM, ctx->cr)) { in stm32_saes_final() 1002 if (last_block && IS_CHAINING_MODE(CBC, ctx->cr) && in stm32_saes_update() 1023 if (IS_CHAINING_MODE(CTR, ctx->cr) && ctx->extra_size) { in stm32_saes_update() [all …]
|