Home
last modified time | relevance | path

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

/linux-6.15/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()
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()
186 XTS_BLOCK_SIZE, NULL); in xts_cts_final()
247 if (req->cryptlen < XTS_BLOCK_SIZE) in xts_init_crypt()
253 req->cryptlen & ~(XTS_BLOCK_SIZE - 1), NULL); in xts_init_crypt()
383 if (alg->base.cra_blocksize != XTS_BLOCK_SIZE) in xts_create()
426 inst->alg.base.cra_blocksize = XTS_BLOCK_SIZE; in xts_create()
[all …]
/linux-6.15/include/crypto/
H A Dxts.h9 #define XTS_BLOCK_SIZE 16 macro
/linux-6.15/arch/powerpc/crypto/
H A Daes_xts.c90 if (!crypto_simd_usable() || (req->cryptlen % XTS_BLOCK_SIZE) != 0) { in p8_aes_xts_crypt()
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c1072 if (req->cryptlen < XTS_BLOCK_SIZE) in qat_alg_skcipher_xts_encrypt()
1140 if (req->cryptlen < XTS_BLOCK_SIZE) in qat_alg_skcipher_xts_decrypt()
/linux-6.15/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-6.15/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-6.15/drivers/crypto/tegra/
H A Dtegra-se-aes.c493 } else if (req->cryptlen < XTS_BLOCK_SIZE) { in tegra_aes_crypt()