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-next>] [day] [month] [year] [list]
Message-ID: <20250205035026.116976-1-ebiggers@kernel.org>
Date: Tue,  4 Feb 2025 19:50:24 -0800
From: Eric Biggers <ebiggers@...nel.org>
To: linux-crypto@...r.kernel.org
Cc: x86@...nel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] crypto: x86 - AES-CTR and AES-XCTR rewrite

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ