Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/
Datmel-tdes.c689 static int atmel_tdes_crypt(struct skcipher_request *req, unsigned long mode) in atmel_tdes_crypt() function
830 return atmel_tdes_crypt(req, TDES_FLAGS_ECB | TDES_FLAGS_ENCRYPT); in atmel_tdes_ecb_encrypt()
835 return atmel_tdes_crypt(req, TDES_FLAGS_ECB); in atmel_tdes_ecb_decrypt()
840 return atmel_tdes_crypt(req, TDES_FLAGS_CBC | TDES_FLAGS_ENCRYPT); in atmel_tdes_cbc_encrypt()
845 return atmel_tdes_crypt(req, TDES_FLAGS_CBC); in atmel_tdes_cbc_decrypt()
849 return atmel_tdes_crypt(req, TDES_FLAGS_CFB64 | TDES_FLAGS_ENCRYPT); in atmel_tdes_cfb_encrypt()
854 return atmel_tdes_crypt(req, TDES_FLAGS_CFB64); in atmel_tdes_cfb_decrypt()
859 return atmel_tdes_crypt(req, TDES_FLAGS_CFB8 | TDES_FLAGS_ENCRYPT); in atmel_tdes_cfb8_encrypt()
864 return atmel_tdes_crypt(req, TDES_FLAGS_CFB8); in atmel_tdes_cfb8_decrypt()
869 return atmel_tdes_crypt(req, TDES_FLAGS_CFB16 | TDES_FLAGS_ENCRYPT); in atmel_tdes_cfb16_encrypt()
[all …]