public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] crypto: x86 - AES-CTR and AES-XCTR rewrite
@ 2025-02-05  3:50 Eric Biggers
  2025-02-05  3:50 ` [PATCH 1/2] crypto: x86/aes-ctr - rewrite AES-NI optimized CTR and add VAES support Eric Biggers
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Eric Biggers @ 2025-02-05  3:50 UTC (permalink / raw)
  To: linux-crypto; +Cc: x86, linux-kernel

This series adds new implementations of AES-CTR and AES-XCTR that are
optimized for modern x86_64 CPUs, and it removes the existing
implementations that are superseded or obsolete.

Changed in v2:
- Split the removal of the non-AVX implementation of AES-CTR into a
  separate patch, and removed the assembly code too.
- Made some minor tweaks to the new assembly file, including fixing a
  build error when aesni-intel is built as a module.

Eric Biggers (2):
  crypto: x86/aes-ctr - rewrite AES-NI optimized CTR and add VAES
    support
  crypto: x86/aes-ctr - remove non-AVX implementation of AES-CTR

 arch/x86/crypto/Makefile                |   2 +-
 arch/x86/crypto/aes-ctr-avx-x86_64.S    | 552 ++++++++++++++++++++++
 arch/x86/crypto/aes_ctrby8_avx-x86_64.S | 597 ------------------------
 arch/x86/crypto/aesni-intel_asm.S       | 125 -----
 arch/x86/crypto/aesni-intel_glue.c      | 450 ++++++++----------
 5 files changed, 756 insertions(+), 970 deletions(-)
 create mode 100644 arch/x86/crypto/aes-ctr-avx-x86_64.S
 delete mode 100644 arch/x86/crypto/aes_ctrby8_avx-x86_64.S


base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-08  3:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-05  3:50 [PATCH 0/2] crypto: x86 - AES-CTR and AES-XCTR rewrite Eric Biggers
2025-02-05  3:50 ` [PATCH 1/2] crypto: x86/aes-ctr - rewrite AES-NI optimized CTR and add VAES support Eric Biggers
2025-02-05  3:50 ` [PATCH 2/2] crypto: x86/aes-ctr - remove non-AVX implementation of AES-CTR Eric Biggers
2025-02-08  3:12   ` Eric Biggers
2025-02-05  3:55 ` [PATCH 0/2] crypto: x86 - AES-CTR and AES-XCTR rewrite Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox