[PATCH v2 0/4] crypto: x86/sha256-ni - cleanup and optimization

From: Eric Biggers
Date: Thu Apr 11 2024 - 13:58:15 EST


This patchset reduces the amount of source code duplication in
sha256_ni_asm.S and also reduces the binary code size slightly.

Changed in v2:
- Take advantage of .irp in patch 1
- Added two additional cleanup patches

Eric Biggers (4):
crypto: x86/sha256-ni - convert to use rounds macros
crypto: x86/sha256-ni - rename some register aliases
crypto: x86/sha256-ni - optimize code size
crypto: x86/sha256-ni - simplify do_4rounds

arch/x86/crypto/sha256_ni_asm.S | 253 +++++++-------------------------
1 file changed, 49 insertions(+), 204 deletions(-)


base-commit: 20cb38a7af88dc40095da7c2c9094da3873fea23
--
2.44.0