Commit 83e85a9c authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: crypto: arm64/aes-neon-ctr - improve handling of single tail block



Instead of falling back to C code to do a memcpy of the output of the
last block, handle this in the asm code directly if possible, which is
the case if the entire input is longer than 16 bytes.

Cc: Nathan Huckleberry <nhuck@google.com>
Cc: Eric Biggers <ebiggers@google.com>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>

Bug: 233652475
Link: https://lore.kernel.org/all/Yf39x1mHvRsM1jvi@gondor.apana.org.au/


(cherry picked from commit 8daa399e)
Signed-off-by: default avatarNathan Huckleberry <nhuck@google.com>
Change-Id: I0e3410783af6ec18e1143d88bba379ce2fddd2d4
parent b856e6cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment