Home
last modified time | relevance | path

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

/linux/crypto/
H A 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/include/crypto/
H A Dxts.h9 #define XTS_BLOCK_SIZE 16 macro
/linux/arch/powerpc/crypto/
H A Daes_xts.c94 if (!crypto_simd_usable() || (req->cryptlen % XTS_BLOCK_SIZE) != 0) { in p8_aes_xts_crypt()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c996 if (req->cryptlen < XTS_BLOCK_SIZE) in qat_alg_skcipher_xts_encrypt()
1064 if (req->cryptlen < XTS_BLOCK_SIZE) in qat_alg_skcipher_xts_decrypt()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c2462 if (req->cryptlen < XTS_BLOCK_SIZE) in safexcel_encrypt_xts()
2470 if (req->cryptlen < XTS_BLOCK_SIZE) in safexcel_decrypt_xts()
2486 .ivsize = XTS_BLOCK_SIZE,
2494 .cra_blocksize = XTS_BLOCK_SIZE,
/linux/drivers/crypto/
H A Datmel-aes.c1069 if (req->cryptlen < XTS_BLOCK_SIZE) in atmel_aes_crypt()
1072 if (!IS_ALIGNED(req->cryptlen, XTS_BLOCK_SIZE)) in atmel_aes_crypt()
/linux/drivers/crypto/tegra/
H A Dtegra-se-aes.c493 } else if (req->cryptlen < XTS_BLOCK_SIZE) { in tegra_aes_crypt()