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:Ard Biesheuvel <ardb@kernel.org> Signed-off-by:
Herbert 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:
Nathan Huckleberry <nhuck@google.com> Change-Id: I0e3410783af6ec18e1143d88bba379ce2fddd2d4
Loading
Please sign in to comment