summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2025-01-27 13:16:09 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2025-02-09 18:08:11 +0800
commit50dd4b4d41c64e86937dda9a1464549c8ae7238a (patch)
tree7dcecc3423cad04ca57cb1cab6b5fed2ad2afe0f /include/linux
parent1d19058d86e55b1fc89a53b854a97b63b0f4c2b9 (diff)
crypto: x86/aes-xts - make the fast path 64-bit specific
Remove 32-bit support from the fast path in xts_crypt(). Then optimize it for 64-bit, and simplify the code, by switching to sg_virt() and removing the now-unnecessary checks for crossing a page boundary. The result is simpler code that is slightly smaller and faster in the case that actually matters (64-bit). Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions