mbox series

[v2,0/8] crypto: x86 - minor optimizations and cleanup to VAES code

Message ID 20241212212845.40333-1-ebiggers@kernel.org (mailing list archive)
Headers show
Series crypto: x86 - minor optimizations and cleanup to VAES code | expand

Message

Eric Biggers Dec. 12, 2024, 9:28 p.m. UTC
This series contains a few minor optimizations and cleanups for the
VAES-optimized AES-XTS and AES-GCM code.

Changed in v2:
  - Added patch "crypto: x86/aes-xts - additional optimizations"
  - Small additions to "x86/aes-xts - use .irp when useful" and
    "x86/aes-xts - improve some comments"

Eric Biggers (8):
  crypto: x86/aes-gcm - code size optimization
  crypto: x86/aes-gcm - tune better for AMD CPUs
  crypto: x86/aes-xts - use .irp when useful
  crypto: x86/aes-xts - make the register aliases per-function
  crypto: x86/aes-xts - improve some comments
  crypto: x86/aes-xts - change len parameter to int
  crypto: x86/aes-xts - more code size optimizations
  crypto: x86/aes-xts - additional optimizations

 arch/x86/crypto/aes-gcm-avx10-x86_64.S | 119 ++++-----
 arch/x86/crypto/aes-xts-avx-x86_64.S   | 329 +++++++++++++------------
 arch/x86/crypto/aesni-intel_glue.c     |  10 +-
 3 files changed, 221 insertions(+), 237 deletions(-)


base-commit: f04be1dddc70fcdd01497d66786e748106271eb6