Skip to content

crypto: x86 - minor optimizations and cleanup to VAES code

Eric Biggers linux-crypto 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 1 replyIn review
  2. v17 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- 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"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8crypto: x86/aes-gcm - code size optimizationarch/x86/crypto/aes-gcm-avx10-x86_64.S+10 -100 replies
2/8crypto: x86/aes-gcm - tune better for AMD CPUsarch/x86/crypto/aes-gcm-avx10-x86_64.S+38 -610 replies
3/8crypto: x86/aes-xts - use .irp when usefularch/x86/crypto/aes-xts-avx-x86_64.S+15 -590 replies
4/8crypto: x86/aes-xts - make the register aliases per-functionarch/x86/crypto/aes-xts-avx-x86_64.S+33 -280 replies
5/8crypto: x86/aes-xts - improve some commentsarch/x86/crypto/aes-xts-avx-x86_64.S+20 -110 replies
6/8crypto: x86/aes-xts - change len parameter to intarch/x86/crypto/aes-xts-avx-x86_64.S arch/x86/crypto/aesni-intel_glue.c+6 -60 replies
7/8crypto: x86/aes-xts - more code size optimizationsarch/x86/crypto/aes-xts-avx-x86_64.S+13 -110 replies
8/8crypto: x86/aes-xts - additional optimizationsarch/x86/crypto/aes-xts-avx-x86_64.S+90 -550 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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

Signature · 1 line
2.47.1