Home
last modified time | relevance | path

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

/Linux-v6.1/crypto/
Dxts.c87 const bool cts = (req->cryptlen % XTS_BLOCK_SIZE); in xts_xor_tweak()
88 const int bs = XTS_BLOCK_SIZE; in xts_xor_tweak()
110 w.total - w.nbytes + avail < 2 * XTS_BLOCK_SIZE) { in xts_xor_tweak()
151 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in xts_cts_done()
153 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 1); in xts_cts_done()
164 int offset = req->cryptlen & ~(XTS_BLOCK_SIZE - 1); in xts_cts_final()
167 int tail = req->cryptlen % XTS_BLOCK_SIZE; in xts_cts_final()
172 offset - XTS_BLOCK_SIZE); in xts_cts_final()
174 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in xts_cts_final()
180 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE + tail, 1); in xts_cts_final()
[all …]
/Linux-v6.1/include/crypto/
Dxts.h9 #define XTS_BLOCK_SIZE 16 macro
/Linux-v6.1/drivers/crypto/vmx/
Daes_xts.c90 if (!crypto_simd_usable() || (req->cryptlen % XTS_BLOCK_SIZE) != 0) { in p8_aes_xts_crypt()
/Linux-v6.1/drivers/crypto/inside-secure/
Dsafexcel_cipher.c2536 if (req->cryptlen < XTS_BLOCK_SIZE) in safexcel_encrypt_xts()
2544 if (req->cryptlen < XTS_BLOCK_SIZE) in safexcel_decrypt_xts()
2560 .ivsize = XTS_BLOCK_SIZE,
2568 .cra_blocksize = XTS_BLOCK_SIZE,
/Linux-v6.1/drivers/crypto/qat/qat_common/
Dqat_algs.c1252 if (req->cryptlen < XTS_BLOCK_SIZE) in qat_alg_skcipher_xts_encrypt()
1319 if (req->cryptlen < XTS_BLOCK_SIZE) in qat_alg_skcipher_xts_decrypt()
/Linux-v6.1/drivers/crypto/
Datmel-aes.c1103 if (req->cryptlen < XTS_BLOCK_SIZE) in atmel_aes_crypt()
1106 if (!IS_ALIGNED(req->cryptlen, XTS_BLOCK_SIZE)) in atmel_aes_crypt()