From: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
To: linux-crypto@vger.kernel.org
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>
Subject: [PATCH 0/7] crypto: add SSE2-x86_64/i586 implementation of Serpent cipher
Date: Tue, 18 Oct 2011 00:02:47 +0300 [thread overview]
Message-ID: <20111017210247.13543.75430.stgit@localhost6.localdomain6> (raw)
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
next reply other threads:[~2011-10-17 21:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 21:02 Jussi Kivilinna [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111017210247.13543.75430.stgit@localhost6.localdomain6 \
--to=jussi.kivilinna@mbnet.fi \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox