Searched refs:FLG_MODE_MASK (Results 1 – 2 of 2) sorted by relevance
45 #define FLG_MODE_MASK GENMASK(2, 0) macro78 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()
41 #define FLG_MODE_MASK GENMASK(15, 0) macro1170 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()