Lines Matching refs:FLG_AES
32 #define FLG_AES BIT(1) macro
214 return cryp->flags & FLG_AES; in is_aes()
971 return stm32_cryp_crypt(req, FLG_AES | FLG_ECB | FLG_ENCRYPT); in stm32_cryp_aes_ecb_encrypt()
982 return stm32_cryp_crypt(req, FLG_AES | FLG_ECB); in stm32_cryp_aes_ecb_decrypt()
993 return stm32_cryp_crypt(req, FLG_AES | FLG_CBC | FLG_ENCRYPT); in stm32_cryp_aes_cbc_encrypt()
1004 return stm32_cryp_crypt(req, FLG_AES | FLG_CBC); in stm32_cryp_aes_cbc_decrypt()
1012 return stm32_cryp_crypt(req, FLG_AES | FLG_CTR | FLG_ENCRYPT); in stm32_cryp_aes_ctr_encrypt()
1020 return stm32_cryp_crypt(req, FLG_AES | FLG_CTR); in stm32_cryp_aes_ctr_decrypt()
1025 return stm32_cryp_aead_crypt(req, FLG_AES | FLG_GCM | FLG_ENCRYPT); in stm32_cryp_aes_gcm_encrypt()
1030 return stm32_cryp_aead_crypt(req, FLG_AES | FLG_GCM); in stm32_cryp_aes_gcm_decrypt()
1050 return stm32_cryp_aead_crypt(req, FLG_AES | FLG_CCM | FLG_ENCRYPT); in stm32_cryp_aes_ccm_encrypt()
1061 return stm32_cryp_aead_crypt(req, FLG_AES | FLG_CCM); in stm32_cryp_aes_ccm_decrypt()