Re: [PATCH] crypto: arm64/aes-neon-ctr - improve handling of single tail block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 27, 2022 at 10:52:11AM +0100, Ard Biesheuvel wrote:
> 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@xxxxxxxxxx>
> Cc: Eric Biggers <ebiggers@xxxxxxxxxx>
> Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
> ---
>  arch/arm64/crypto/aes-glue.c  | 21 +++++++-------------
>  arch/arm64/crypto/aes-modes.S | 18 ++++++++++++-----
>  2 files changed, 20 insertions(+), 19 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux