Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH 0/7] crypto: add SSE2-x86_64/i586 implementation of Serpent cipher
@ 2011-10-17 21:02 Jussi Kivilinna
  2011-10-17 21:02 ` [PATCH 1/7] crypto: testmgr: add new serpent test vectors Jussi Kivilinna
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Jussi Kivilinna @ 2011-10-17 21:02 UTC (permalink / raw)
  To: linux-crypto; +Cc: Herbert Xu, David S. Miller

This series adds SSE2 optimized version of Serpent cipher for x86_64 and i586
architectures. The i586 implementation processes four serpent blocks parallel
in SSE2 registers. The x86_64 implementation utilizes available extra SSE2
registers for higher performance on out-of-order CPUs, crypting 8 blocks
parallel.

Series depends on previous testmgr/tcrypt patches in twofish-asm-3way series
and also on following patches:
  http://marc.info/?l=linux-crypto-vger&m=131827700228773&w=2
  http://marc.info/?l=linux-crypto-vger&m=131827699228759&w=2

---

Jussi Kivilinna (7):
      crypto: testmgr: add new serpent test vectors
      crypto: tcrypt: add test_acipher_speed
      crypto: tcrypt: add serpent speed tests
      crypto: serpent: export common functions for x86_64/i386-sse2 assembler implementations
      crypto: serpent: rename module from serpent to serpent_generic
      crypto: serpent: add 8-way parallel x86_64/SSE2 assembler implementation
      crypto: serpent: add 4-way parallel i586/SSE2 assembler implementation


 arch/x86/crypto/Makefile                     |    4 
 arch/x86/crypto/serpent-sse2-i586-asm_32.S   |  639 ++++++++++++++++++++++
 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S |  761 ++++++++++++++++++++++++++
 arch/x86/crypto/serpent_sse2_glue.c          |  719 +++++++++++++++++++++++++
 arch/x86/include/asm/serpent.h               |   64 ++
 crypto/Kconfig                               |   34 +
 crypto/Makefile                              |    4 
 crypto/serpent.c                             |   44 +-
 crypto/tcrypt.c                              |  282 ++++++++++
 crypto/testmgr.c                             |   90 +++
 crypto/testmgr.h                             |  393 +++++++++++++
 include/crypto/serpent.h                     |   25 +
 12 files changed, 3037 insertions(+), 22 deletions(-)
 create mode 100644 arch/x86/crypto/serpent-sse2-i586-asm_32.S
 create mode 100644 arch/x86/crypto/serpent-sse2-x86_64-asm_64.S
 create mode 100644 arch/x86/crypto/serpent_sse2_glue.c
 create mode 100644 arch/x86/include/asm/serpent.h
 create mode 100644 include/crypto/serpent.h

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-09  3:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-17 21:02 [PATCH 0/7] crypto: add SSE2-x86_64/i586 implementation of Serpent cipher Jussi Kivilinna
2011-10-17 21:02 ` [PATCH 1/7] crypto: testmgr: add new serpent test vectors Jussi Kivilinna
2011-10-17 21:02 ` [PATCH 2/7] crypto: tcrypt: add test_acipher_speed Jussi Kivilinna
2011-10-17 21:03 ` [PATCH 3/7] crypto: tcrypt: add serpent speed tests Jussi Kivilinna
2011-10-17 21:03 ` [PATCH 4/7] crypto: serpent: export common functions for x86_64/i386-sse2 assembler implementations Jussi Kivilinna
2011-10-17 21:03 ` [PATCH 5/7] crypto: serpent: rename module from serpent to serpent_generic Jussi Kivilinna
2011-10-17 21:03 ` [PATCH 6/7] crypto: serpent: add 8-way parallel x86_64/SSE2 assembler implementation Jussi Kivilinna
2011-11-09  3:44   ` Herbert Xu
2011-10-17 21:03 ` [PATCH 7/7] crypto: serpent: add 4-way parallel i586/SSE2 " Jussi Kivilinna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox