Lines Matching refs:starfive_aes_crypt
654 static int starfive_aes_crypt(struct skcipher_request *req, unsigned long flags) in starfive_aes_crypt() function
768 return starfive_aes_crypt(req, STARFIVE_AES_MODE_ECB | FLG_ENCRYPT); in starfive_aes_ecb_encrypt()
773 return starfive_aes_crypt(req, STARFIVE_AES_MODE_ECB); in starfive_aes_ecb_decrypt()
778 return starfive_aes_crypt(req, STARFIVE_AES_MODE_CBC | FLG_ENCRYPT); in starfive_aes_cbc_encrypt()
783 return starfive_aes_crypt(req, STARFIVE_AES_MODE_CBC); in starfive_aes_cbc_decrypt()
788 return starfive_aes_crypt(req, STARFIVE_AES_MODE_CFB | FLG_ENCRYPT); in starfive_aes_cfb_encrypt()
793 return starfive_aes_crypt(req, STARFIVE_AES_MODE_CFB); in starfive_aes_cfb_decrypt()
798 return starfive_aes_crypt(req, STARFIVE_AES_MODE_OFB | FLG_ENCRYPT); in starfive_aes_ofb_encrypt()
803 return starfive_aes_crypt(req, STARFIVE_AES_MODE_OFB); in starfive_aes_ofb_decrypt()
808 return starfive_aes_crypt(req, STARFIVE_AES_MODE_CTR | FLG_ENCRYPT); in starfive_aes_ctr_encrypt()
813 return starfive_aes_crypt(req, STARFIVE_AES_MODE_CTR); in starfive_aes_ctr_decrypt()