Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/
Datmel-tdes.c44 #define TDES_FLAGS_ENCRYPT TDES_MR_CYPHER_ENC macro
54 #define TDES_FLAGS_MODE_MASK (TDES_FLAGS_OPMODE_MASK | TDES_FLAGS_ENCRYPT)
578 if (rctx->mode & TDES_FLAGS_ENCRYPT) { in atmel_tdes_set_iv_as_last_ciphertext_block()
732 !(mode & TDES_FLAGS_ENCRYPT) && req->src == req->dst) { in atmel_tdes_crypt()
830 return atmel_tdes_crypt(req, TDES_FLAGS_ECB | TDES_FLAGS_ENCRYPT); in atmel_tdes_ecb_encrypt()
840 return atmel_tdes_crypt(req, TDES_FLAGS_CBC | TDES_FLAGS_ENCRYPT); in atmel_tdes_cbc_encrypt()
849 return atmel_tdes_crypt(req, TDES_FLAGS_CFB64 | TDES_FLAGS_ENCRYPT); in atmel_tdes_cfb_encrypt()
859 return atmel_tdes_crypt(req, TDES_FLAGS_CFB8 | TDES_FLAGS_ENCRYPT); in atmel_tdes_cfb8_encrypt()
869 return atmel_tdes_crypt(req, TDES_FLAGS_CFB16 | TDES_FLAGS_ENCRYPT); in atmel_tdes_cfb16_encrypt()
879 return atmel_tdes_crypt(req, TDES_FLAGS_CFB32 | TDES_FLAGS_ENCRYPT); in atmel_tdes_cfb32_encrypt()
[all …]