mbox series

[0/7] crypto: x86 - minor optimizations and cleanup to VAES code

Message ID 20241210235834.40862-1-ebiggers@kernel.org
Headers show
Series crypto: x86 - minor optimizations and cleanup to VAES code | expand

Message

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

Eric Biggers (7):
  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

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


base-commit: f04be1dddc70fcdd01497d66786e748106271eb6