Skip to content

crypto: x86/sha256-ni - cleanup and optimization

Eric Biggers linux-crypto lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 6 repliesIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto: x86/sha256-ni - convert to use rounds macrosarch/x86/crypto/sha256_ni_asm.S+29 -1820 replies
2/4crypto: x86/sha256-ni - rename some register aliasesarch/x86/crypto/sha256_ni_asm.S+17 -170 replies
3/4crypto: x86/sha256-ni - optimize code sizearch/x86/crypto/sha256_ni_asm.S+15 -150 replies
4/4crypto: x86/sha256-ni - simplify do_4roundsarch/x86/crypto/sha256_ni_asm.S+4 -65 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/4] crypto: x86/sha256-ni - cleanup and optimization

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

Signature · 1 line
2.44.0