Home
last modified time | relevance | path

Searched refs:FLG_MODE_MASK (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/crypto/starfive/
Djh7110-aes.c45 #define FLG_MODE_MASK GENMASK(2, 0) macro
78 return (cryp->flags & FLG_MODE_MASK) == STARFIVE_AES_MODE_GCM; in is_gcm()
246 hw_mode = cryp->flags & FLG_MODE_MASK; in starfive_aes_hw_init()
347 if (!err && ((cryp->flags & FLG_MODE_MASK) == STARFIVE_AES_MODE_CBC || in starfive_aes_finish_req()
348 (cryp->flags & FLG_MODE_MASK) == STARFIVE_AES_MODE_CTR)) in starfive_aes_finish_req()
585 if ((cryp->flags & FLG_MODE_MASK) == STARFIVE_AES_MODE_CCM) in starfive_aes_aead_do_one_req()
663 if ((cryp->flags & FLG_MODE_MASK) == STARFIVE_AES_MODE_ECB || in starfive_aes_crypt()
664 (cryp->flags & FLG_MODE_MASK) == STARFIVE_AES_MODE_CBC) in starfive_aes_crypt()
/Linux-v6.6/drivers/crypto/stm32/
Dstm32-cryp.c41 #define FLG_MODE_MASK GENMASK(15, 0) macro
1170 rctx->mode &= FLG_MODE_MASK; in stm32_cryp_prepare_req()
1174 cryp->flags = (cryp->flags & ~FLG_MODE_MASK) | rctx->mode; in stm32_cryp_prepare_req()