mbox series

[0/3] crypto: x86/aes-xts - additional tuning

Message ID 20240413031728.159495-1-ebiggers@kernel.org (mailing list archive)
Headers show
Series crypto: x86/aes-xts - additional tuning | expand

Message

Eric Biggers April 13, 2024, 3:17 a.m. UTC
This series does some more fine-tuning of the new AES-XTS code.

It applies to cryptodev commit 751fb2528c12 plus the two pending patches
https://lore.kernel.org/linux-crypto/20240409000154.29799-1-ebiggers@kernel.org/
and
https://lore.kernel.org/linux-crypto/20240412154559.91807-1-ebiggers@kernel.org/

Eric Biggers (3):
  crypto: x86/aes-xts - handle AES-128 and AES-192 more efficiently
  crypto: x86/aes-xts - eliminate a few more instructions
  crypto: x86/aes-xts - optimize size of instructions operating on
    lengths

 arch/x86/crypto/aes-xts-avx-x86_64.S | 249 +++++++++++++--------------
 arch/x86/crypto/aesni-intel_glue.c   |  18 +-
 2 files changed, 131 insertions(+), 136 deletions(-)


base-commit: 751fb2528c12ef64d1e863efb196cdc968b384f6
prerequisite-patch-id: 5c1ca8ffe87136eb7bfe74d996f5e6cac01e2768
prerequisite-patch-id: a72a872736c8e0876c4b44a9e5792dcaa02d4e0e

Comments

Ard Biesheuvel April 15, 2024, 12:11 p.m. UTC | #1
On Sat, 13 Apr 2024 at 05:21, Eric Biggers <ebiggers@kernel.org> wrote:
>
> This series does some more fine-tuning of the new AES-XTS code.
>
> It applies to cryptodev commit 751fb2528c12 plus the two pending patches
> https://lore.kernel.org/linux-crypto/20240409000154.29799-1-ebiggers@kernel.org/
> and
> https://lore.kernel.org/linux-crypto/20240412154559.91807-1-ebiggers@kernel.org/
>
> Eric Biggers (3):
>   crypto: x86/aes-xts - handle AES-128 and AES-192 more efficiently
>   crypto: x86/aes-xts - eliminate a few more instructions
>   crypto: x86/aes-xts - optimize size of instructions operating on
>     lengths
>

For the series,

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>

>  arch/x86/crypto/aes-xts-avx-x86_64.S | 249 +++++++++++++--------------
>  arch/x86/crypto/aesni-intel_glue.c   |  18 +-
>  2 files changed, 131 insertions(+), 136 deletions(-)
>
>
> base-commit: 751fb2528c12ef64d1e863efb196cdc968b384f6
> prerequisite-patch-id: 5c1ca8ffe87136eb7bfe74d996f5e6cac01e2768
> prerequisite-patch-id: a72a872736c8e0876c4b44a9e5792dcaa02d4e0e
> --
> 2.44.0
>
>
Herbert Xu April 19, 2024, 11:04 a.m. UTC | #2
Eric Biggers <ebiggers@kernel.org> wrote:
> This series does some more fine-tuning of the new AES-XTS code.
> 
> It applies to cryptodev commit 751fb2528c12 plus the two pending patches
> https://lore.kernel.org/linux-crypto/20240409000154.29799-1-ebiggers@kernel.org/
> and
> https://lore.kernel.org/linux-crypto/20240412154559.91807-1-ebiggers@kernel.org/
> 
> Eric Biggers (3):
>  crypto: x86/aes-xts - handle AES-128 and AES-192 more efficiently
>  crypto: x86/aes-xts - eliminate a few more instructions
>  crypto: x86/aes-xts - optimize size of instructions operating on
>    lengths
> 
> arch/x86/crypto/aes-xts-avx-x86_64.S | 249 +++++++++++++--------------
> arch/x86/crypto/aesni-intel_glue.c   |  18 +-
> 2 files changed, 131 insertions(+), 136 deletions(-)
> 
> 
> base-commit: 751fb2528c12ef64d1e863efb196cdc968b384f6
> prerequisite-patch-id: 5c1ca8ffe87136eb7bfe74d996f5e6cac01e2768
> prerequisite-patch-id: a72a872736c8e0876c4b44a9e5792dcaa02d4e0e

All applied.  Thanks.