Searched refs:stm32_cryp_crypt (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/crypto/stm32/ |
D | stm32-cryp.c | 703 static int stm32_cryp_crypt(struct ablkcipher_request *req, unsigned long mode) in stm32_cryp_crypt() function 813 return stm32_cryp_crypt(req, FLG_AES | FLG_ECB | FLG_ENCRYPT); in stm32_cryp_aes_ecb_encrypt() 818 return stm32_cryp_crypt(req, FLG_AES | FLG_ECB); in stm32_cryp_aes_ecb_decrypt() 823 return stm32_cryp_crypt(req, FLG_AES | FLG_CBC | FLG_ENCRYPT); in stm32_cryp_aes_cbc_encrypt() 828 return stm32_cryp_crypt(req, FLG_AES | FLG_CBC); in stm32_cryp_aes_cbc_decrypt() 833 return stm32_cryp_crypt(req, FLG_AES | FLG_CTR | FLG_ENCRYPT); in stm32_cryp_aes_ctr_encrypt() 838 return stm32_cryp_crypt(req, FLG_AES | FLG_CTR); in stm32_cryp_aes_ctr_decrypt() 863 return stm32_cryp_crypt(req, FLG_DES | FLG_ECB | FLG_ENCRYPT); in stm32_cryp_des_ecb_encrypt() 868 return stm32_cryp_crypt(req, FLG_DES | FLG_ECB); in stm32_cryp_des_ecb_decrypt() 873 return stm32_cryp_crypt(req, FLG_DES | FLG_CBC | FLG_ENCRYPT); in stm32_cryp_des_cbc_encrypt() [all …]
|