From: Jussi Kivilinna <jussi.kivilinna@iki.fi>
To: linux-crypto@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
linux-kernel@vger.kernel.org,
Herbert Xu <herbert@gondor.apana.org.au>
Subject: [RFC PATCH 2/6] crypto: tcrypt - add async cipher speed tests for blowfish
Date: Sat, 13 Apr 2013 13:46:40 +0300 [thread overview]
Message-ID: <20130413104640.10667.27531.stgit@localhost6.localdomain6> (raw)
In-Reply-To: <20130413104245.10667.62267.stgit@localhost6.localdomain6>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
---
crypto/tcrypt.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 24ea7df..66d254c 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1768,6 +1768,21 @@ static int do_test(int m)
speed_template_32_64);
break;
+ case 509:
+ test_acipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0,
+ speed_template_8_32);
+ test_acipher_speed("ecb(blowfish)", DECRYPT, sec, NULL, 0,
+ speed_template_8_32);
+ test_acipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0,
+ speed_template_8_32);
+ test_acipher_speed("cbc(blowfish)", DECRYPT, sec, NULL, 0,
+ speed_template_8_32);
+ test_acipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0,
+ speed_template_8_32);
+ test_acipher_speed("ctr(blowfish)", DECRYPT, sec, NULL, 0,
+ speed_template_8_32);
+ break;
+
case 1000:
test_available();
break;
next prev parent reply other threads:[~2013-04-13 10:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-13 10:46 [RFC PATCH 0/6] Add AVX2 accelerated implementations for Blowfish, Twofish, Serpent and Camellia Jussi Kivilinna
2013-04-13 10:46 ` [RFC PATCH 1/6] crypto: testmgr - extend camellia test-vectors for camellia-aesni/avx2 Jussi Kivilinna
2013-04-13 10:46 ` Jussi Kivilinna [this message]
2013-04-13 10:46 ` [RFC PATCH 3/6] crypto: blowfish - add AVX2/x86_64 implementation of blowfish cipher Jussi Kivilinna
2013-04-13 10:46 ` [RFC PATCH 4/6] crypto: twofish - add AVX2/x86_64 assembler implementation of twofish cipher Jussi Kivilinna
2013-04-13 10:46 ` [RFC PATCH 5/6] crypto: serpent - add AVX2/x86_64 assembler implementation of serpent cipher Jussi Kivilinna
2013-04-13 10:47 ` [RFC PATCH 6/6] crypto: camellia - add AVX2/AES-NI/x86_64 assembler implementation of camellia cipher Jussi Kivilinna
2013-04-25 14:18 ` [RFC PATCH 0/6] Add AVX2 accelerated implementations for Blowfish, Twofish, Serpent and Camellia 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=20130413104640.10667.27531.stgit@localhost6.localdomain6 \
--to=jussi.kivilinna@iki.fi \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@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