summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2024-10-17 03:00:49 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2024-10-28 13:33:10 +0300
commita0927a03e7be83d7f2b63ce8ee4579b42f87924b (patch)
treeada8788842867408091f1b492057cc44faa32ed4 /scripts/lib/kdoc/kdoc_files.py
parent933e8974312e348c017c07591bec56677bdfc3dc (diff)
downloadlinux-a0927a03e7be83d7f2b63ce8ee4579b42f87924b.tar.xz
crypto: x86/aegis128 - take advantage of block-aligned len
Update a caller of aegis128_aesni_ad() to round down the length to a block boundary. After that, aegis128_aesni_ad(), aegis128_aesni_enc(), and aegis128_aesni_dec() are only passed whole blocks. Update the assembly code to take advantage of that, which eliminates some unneeded instructions. For aegis128_aesni_enc() and aegis128_aesni_dec(), the length is also always nonzero, so stop checking for zero length. Reviewed-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions