Skip to content

crypto: x86 assembler cleanups

Jussi Kivilinna linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12crypto: x86/aes - assembler clean-ups: use ENTRY/ENDPROC, localize jump targetsarch/x86/crypto/aes-i586-asm_32.S arch/x86/crypto/aes-x86_64-asm_64.S+20 -250 replies
2/12crypto: aesni-intel - add ENDPROC statements for assembler functionsarch/x86/crypto/aesni-intel_asm.S+22 -10 replies
3/12crypto: blowfish-x86_64: use ENTRY()/ENDPROC() for assembler functions and localize jump targetsarch/x86/crypto/blowfish-x86_64-asm_64.S+14 -250 replies
4/12crypto: camellia-x86_64/aes-ni: use ENTRY()/ENDPROC() for assembler functions and localize jump targetsarch/x86/crypto/camellia-aesni-avx-asm_64.S arch/x86/crypto/camellia-x86_64-asm_64.S+36 -520 replies
5/12crypto: cast5-avx: use ENTRY()/ENDPROC() for assembler functions and localize jump targetsarch/x86/crypto/cast5-avx-x86_64-asm_64.S+18 -300 replies
6/12crypto: cast6-avx: use ENTRY()/ENDPROC() for assembler functionsarch/x86/crypto/cast6-avx-x86_64-asm_64.S+11 -240 replies
7/12crypto: x86/crc32c - assembler clean-up: use ENTRY/ENDPROCarch/x86/crypto/crc32c-pcl-intel-asm_64.S+6 -20 replies
8/12crypto: x86/ghash - assembler clean-up: use ENDPROC at end of assember functionsarch/x86/crypto/ghash-clmulni-intel_asm.S+4 -00 replies
9/12crypto: x86/salsa20 - assembler cleanup, use ENTRY/ENDPROC for assember functions and rename ECRYPT_* to salsa20_*arch/x86/crypto/salsa20-i586-asm_32.S arch/x86/crypto/salsa20-x86_64-asm_64.S arch/x86/crypto/salsa20_glue.c+27 -340 replies
10/12crypto: x86/serpent - use ENTRY/ENDPROC for assember functions and localize jump targetsarch/x86/crypto/serpent-avx-x86_64-asm_64.S arch/x86/crypto/serpent-sse2-i586-asm_32.S arch/x86/crypto/serpent-sse2-x86_64-asm_64.S+27 -480 replies
11/12crypto: x86/sha1 - assembler clean-ups: use ENTRY/ENDPROCarch/x86/crypto/sha1_ssse3_asm.S+5 -50 replies
12/12crypto: x86/twofish - assembler clean-ups: use ENTRY/ENDPROC, localize jump labelsarch/x86/crypto/twofish-avx-x86_64-asm_64.S arch/x86/crypto/twofish-i586-asm_32.S arch/x86/crypto/twofish-x86_64-asm_64-3way.S +1 more+29 -480 replies

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid S. Miller
SeriesA-b
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/12] crypto: x86 assembler cleanups

Change x86 crypto implementations to use ENTRY()/ENDPROC() as linux/linkage.h recommends use of ENDPROC() for assembler functions.

While at it, also change jump targets to local labels for some implementations.

---

Jussi Kivilinna (12):
crypto: x86/aes - assembler clean-ups: use ENTRY/ENDPROC, localize jump targets
crypto: aesni-intel - add ENDPROC statements for assembler functions
crypto: blowfish-x86_64: use ENTRY()/ENDPROC() for assembler functions and localize jump targets
crypto: camellia-x86_64/aes-ni: use ENTRY()/ENDPROC() for assembler functions and localize jump targets
crypto: cast5-avx: use ENTRY()/ENDPROC() for assembler functions and localize jump targets
crypto: cast6-avx: use ENTRY()/ENDPROC() for assembler functions
crypto: x86/crc32c - assembler clean-up: use ENTRY/ENDPROC
crypto: x86/ghash - assembler clean-up: use ENDPROC at end of assember functions
crypto: x86/salsa20 - assembler cleanup, use ENTRY/ENDPROC for assember functions and rename ECRYPT_* to salsa20_*
crypto: x86/serpent - use ENTRY/ENDPROC for assember functions and localize jump targets
crypto: x86/sha1 - assembler clean-ups: use ENTRY/ENDPROC
crypto: x86/twofish - assembler clean-ups: use ENTRY/ENDPROC, localize jump labels

 arch/x86/crypto/aes-i586-asm_32.S            |   15 +++-----
 arch/x86/crypto/aes-x86_64-asm_64.S          |   30 ++++++++--------
 arch/x86/crypto/aesni-intel_asm.S            |   23 +++++++++++-
 arch/x86/crypto/blowfish-x86_64-asm_64.S     |   39 +++++++-------------
 arch/x86/crypto/camellia-aesni-avx-asm_64.S  |   38 +++++++-------------
 arch/x86/crypto/camellia-x86_64-asm_64.S     |   50 +++++++++++---------------
 arch/x86/crypto/cast5-avx-x86_64-asm_64.S    |   48 +++++++++----------------
 arch/x86/crypto/cast6-avx-x86_64-asm_64.S    |   35 ++++++------------
 arch/x86/crypto/crc32c-pcl-intel-asm_64.S    |    8 +++-
 arch/x86/crypto/ghash-clmulni-intel_asm.S    |    4 ++
 arch/x86/crypto/salsa20-i586-asm_32.S        |   28 +++++++--------
 arch/x86/crypto/salsa20-x86_64-asm_64.S      |   28 +++++++--------
 arch/x86/crypto/salsa20_glue.c               |    5 ---
 arch/x86/crypto/serpent-avx-x86_64-asm_64.S  |   35 ++++++------------
 arch/x86/crypto/serpent-sse2-i586-asm_32.S   |   20 ++++------
 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S |   20 ++++------
 arch/x86/crypto/sha1_ssse3_asm.S             |   10 +++--
 arch/x86/crypto/twofish-avx-x86_64-asm_64.S  |   35 ++++++------------
 arch/x86/crypto/twofish-i586-asm_32.S        |   11 +++---
 arch/x86/crypto/twofish-x86_64-asm_64-3way.S |   20 ++++------
 arch/x86/crypto/twofish-x86_64-asm_64.S      |   11 +++---
 21 files changed, 219 insertions(+), 294 deletions(-)

--