Searched refs:starfive_aes_crypt (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/crypto/starfive/ |
H A D | jh7110-aes.c | 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() [all …]
|