Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/crypto/starfive/
Djh7110-aes.c46 #define FLG_ENCRYPT BIT(4) macro
83 return cryp->flags & FLG_ENCRYPT; in is_encrypt()
768 return starfive_aes_crypt(req, STARFIVE_AES_MODE_ECB | FLG_ENCRYPT); in starfive_aes_ecb_encrypt()
778 return starfive_aes_crypt(req, STARFIVE_AES_MODE_CBC | FLG_ENCRYPT); in starfive_aes_cbc_encrypt()
788 return starfive_aes_crypt(req, STARFIVE_AES_MODE_CFB | FLG_ENCRYPT); in starfive_aes_cfb_encrypt()
798 return starfive_aes_crypt(req, STARFIVE_AES_MODE_OFB | FLG_ENCRYPT); in starfive_aes_ofb_encrypt()
808 return starfive_aes_crypt(req, STARFIVE_AES_MODE_CTR | FLG_ENCRYPT); in starfive_aes_ctr_encrypt()
818 return starfive_aes_aead_crypt(req, STARFIVE_AES_MODE_GCM | FLG_ENCRYPT); in starfive_aes_gcm_encrypt()
834 return starfive_aes_aead_crypt(req, STARFIVE_AES_MODE_CCM | FLG_ENCRYPT); in starfive_aes_ccm_encrypt()
/linux-6.6.21/drivers/crypto/stm32/
Dstm32-cryp.c30 #define FLG_ENCRYPT BIT(0) macro
254 return cryp->flags & FLG_ENCRYPT; in is_encrypt()
971 return stm32_cryp_crypt(req, FLG_AES | FLG_ECB | FLG_ENCRYPT); in stm32_cryp_aes_ecb_encrypt()
993 return stm32_cryp_crypt(req, FLG_AES | FLG_CBC | FLG_ENCRYPT); in stm32_cryp_aes_cbc_encrypt()
1012 return stm32_cryp_crypt(req, FLG_AES | FLG_CTR | FLG_ENCRYPT); in stm32_cryp_aes_ctr_encrypt()
1025 return stm32_cryp_aead_crypt(req, FLG_AES | FLG_GCM | FLG_ENCRYPT); in stm32_cryp_aes_gcm_encrypt()
1050 return stm32_cryp_aead_crypt(req, FLG_AES | FLG_CCM | FLG_ENCRYPT); in stm32_cryp_aes_ccm_encrypt()
1072 return stm32_cryp_crypt(req, FLG_DES | FLG_ECB | FLG_ENCRYPT); in stm32_cryp_des_ecb_encrypt()
1094 return stm32_cryp_crypt(req, FLG_DES | FLG_CBC | FLG_ENCRYPT); in stm32_cryp_des_cbc_encrypt()
1116 return stm32_cryp_crypt(req, FLG_TDES | FLG_ECB | FLG_ENCRYPT); in stm32_cryp_tdes_ecb_encrypt()
[all …]