Home
last modified time | relevance | path

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

/drivers/crypto/
Datmel-tdes.c668 static int atmel_tdes_crypt(struct ablkcipher_request *req, unsigned long mode) in atmel_tdes_crypt() function
807 return atmel_tdes_crypt(req, TDES_FLAGS_ENCRYPT); in atmel_tdes_ecb_encrypt()
812 return atmel_tdes_crypt(req, 0); in atmel_tdes_ecb_decrypt()
817 return atmel_tdes_crypt(req, TDES_FLAGS_ENCRYPT | TDES_FLAGS_CBC); in atmel_tdes_cbc_encrypt()
822 return atmel_tdes_crypt(req, TDES_FLAGS_CBC); in atmel_tdes_cbc_decrypt()
826 return atmel_tdes_crypt(req, TDES_FLAGS_ENCRYPT | TDES_FLAGS_CFB); in atmel_tdes_cfb_encrypt()
831 return atmel_tdes_crypt(req, TDES_FLAGS_CFB); in atmel_tdes_cfb_decrypt()
836 return atmel_tdes_crypt(req, TDES_FLAGS_ENCRYPT | TDES_FLAGS_CFB | in atmel_tdes_cfb8_encrypt()
842 return atmel_tdes_crypt(req, TDES_FLAGS_CFB | TDES_FLAGS_CFB8); in atmel_tdes_cfb8_decrypt()
847 return atmel_tdes_crypt(req, TDES_FLAGS_ENCRYPT | TDES_FLAGS_CFB | in atmel_tdes_cfb16_encrypt()
[all …]