lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zhjj97HevVmll+gz@gondor.apana.org.au>
Date: Fri, 12 Apr 2024 15:34:15 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Eric Biggers <ebiggers@...nel.org>
Cc: linux-crypto@...r.kernel.org, x86@...nel.org,
	linux-kernel@...r.kernel.org, ardb@...nel.org, luto@...nel.org,
	chang.seok.bae@...el.com
Subject: Re: [PATCH] crypto: x86/aes-xts - make non-AVX implementation use
 new glue code

Eric Biggers <ebiggers@...nel.org> wrote:
> From: Eric Biggers <ebiggers@...gle.com>
> 
> Make the non-AVX implementation of AES-XTS (xts-aes-aesni) use the new
> glue code that was introduced for the AVX implementations of AES-XTS.
> This reduces code size, and it improves the performance of xts-aes-aesni
> due to the optimization for messages that don't span page boundaries.
> 
> This required moving the new glue functions higher up in the file and
> allowing the IV encryption function to be specified by the caller.
> 
> Signed-off-by: Eric Biggers <ebiggers@...gle.com>
> ---
> arch/x86/crypto/aes-xts-avx-x86_64.S |   2 +-
> arch/x86/crypto/aesni-intel_asm.S    |  16 +-
> arch/x86/crypto/aesni-intel_glue.c   | 317 +++++++++++----------------
> 3 files changed, 132 insertions(+), 203 deletions(-)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ