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 00/18] crypto: Add helper functions for parallelized LRW and XTS modes
Date: Tue, 18 Oct 2011 13:32:08 +0300 [thread overview]
Message-ID: <20111018103208.3074.11546.stgit@localhost6.localdomain6> (raw)
This series adds lrw_crypt() and xts_crypt() functions for cipher implementations that
can benefit from parallel cipher block operations. To make interface flexible,
caller is reponsible of allocating buffer large enough to store temporary cipher
blocks. This buffer size should be as large as size of parallel blocks processed at
once. Cryption callback is called with buffer size at maximum of parallel blocks size
and at minimum size of one block.
Series adds LRW/XTS support to serpent-sse2 and twofish-x86_64-3way, and therefore
depends on those series.
Patches 1-4: include LRW fixes/cleanups, export gf128mul table and add lrw_crypt().
Patches 5-7: add LRW support to serpent-sse2, with tcrypt tests and test vectors.
Patches 8-10: add LRW support to twofish-x86_64-3way, with tcrypt tests and test vectors.
Patches 11-12: include XTS cleanup for blocksize usage and add xts_crypt().
Patches 13-15: add XTS support to serpent-sse2, with tcrypt tests and test vectors.
Patches 16-18: add XTS support to twofish-x86_64-3way, with tcrypt tests and test vectors.
---
Jussi Kivilinna (18):
crypto: lrw: fix memleak
crypto: lrw: use blocksize constant
crypto: lrw: split gf128mul table initialization from setkey
crypto: lrw: add interface for parallelized cipher implementions
crypto: testmgr: add lrw(serpent) test vectors
crypto: tcrypt: add lrw(serpent) tests
crypto: serpent-sse2: add lrw support
crypto: testmgr: add lrw(twofish) test vectors
crypto: tcrypt: add lrw(twofish) tests
crypto: twofish-x86_64-3way: add lrw support
crypto: xts: use blocksize constant
crypto: xts: add interface for parallelized cipher implementations
crypto: testmgr: add xts(serpent) test vectors
crypto: tcrypt: add xts(serpent) tests
crypto: serpent-sse2: add xts support
crypto: testmgr: add xts(twofish) test vectors
crypto: tcrypt: add xts(twofish) tests
crypto: twofish-x86_64-3way: add xts support
arch/x86/crypto/serpent_sse2_glue.c | 387 ++++++
arch/x86/crypto/twofish_glue_3way.c | 250 ++++
crypto/lrw.c | 155 ++
crypto/serpent.c | 10
crypto/tcrypt.c | 28
crypto/tcrypt.h | 2
crypto/testmgr.c | 60 +
crypto/testmgr.h | 2366 +++++++++++++++++++++++++++++++++++
crypto/twofish_common.c | 13
crypto/xts.c | 78 +
include/crypto/lrw.h | 43 +
include/crypto/serpent.h | 2
include/crypto/twofish.h | 2
include/crypto/xts.h | 27
14 files changed, 3379 insertions(+), 44 deletions(-)
create mode 100644 include/crypto/lrw.h
create mode 100644 include/crypto/xts.h
next reply other threads:[~2011-10-18 10:32 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 10:32 Jussi Kivilinna [this message]
2011-10-18 10:32 ` [PATCH 01/18] crypto: lrw: fix memleak Jussi Kivilinna
2011-10-18 10:32 ` [PATCH 02/18] crypto: lrw: use blocksize constant Jussi Kivilinna
2011-10-18 10:32 ` [PATCH 03/18] crypto: lrw: split gf128mul table initialization from setkey Jussi Kivilinna
2011-10-18 10:32 ` [PATCH 04/18] crypto: lrw: add interface for parallelized cipher implementions Jussi Kivilinna
2011-10-18 10:32 ` [PATCH 05/18] crypto: testmgr: add lrw(serpent) test vectors Jussi Kivilinna
2011-10-18 10:32 ` [PATCH 06/18] crypto: tcrypt: add lrw(serpent) tests Jussi Kivilinna
2011-10-18 10:32 ` [PATCH 07/18] crypto: serpent-sse2: add lrw support Jussi Kivilinna
2011-10-18 10:32 ` [PATCH 08/18] crypto: testmgr: add lrw(twofish) test vectors Jussi Kivilinna
2011-10-18 10:32 ` [PATCH 09/18] crypto: tcrypt: add lrw(twofish) tests Jussi Kivilinna
2011-10-18 10:33 ` [PATCH 10/18] crypto: twofish-x86_64-3way: add lrw support Jussi Kivilinna
2011-10-18 10:33 ` [PATCH 11/18] crypto: xts: use blocksize constant Jussi Kivilinna
2011-10-18 10:33 ` [PATCH 12/18] crypto: xts: add interface for parallelized cipher implementations Jussi Kivilinna
2011-10-18 10:33 ` [PATCH 13/18] crypto: testmgr: add xts(serpent) test vectors Jussi Kivilinna
2011-10-18 10:33 ` [PATCH 14/18] crypto: tcrypt: add xts(serpent) tests Jussi Kivilinna
2011-10-18 10:33 ` [PATCH 15/18] crypto: serpent-sse2: add xts support Jussi Kivilinna
2011-10-18 10:33 ` [PATCH 16/18] crypto: testmgr: add xts(twofish) test vectors Jussi Kivilinna
2011-10-18 10:33 ` [PATCH 17/18] crypto: tcrypt: add xts(twofish) tests Jussi Kivilinna
2011-10-18 10:33 ` [PATCH 18/18] crypto: twofish-x86_64-3way: add xts support Jussi Kivilinna
2011-11-09 4:00 ` [PATCH 00/18] crypto: Add helper functions for parallelized LRW and XTS modes Herbert Xu
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=20111018103208.3074.11546.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