Linux cryptographic layer development
 help / color / mirror / Atom feed
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 2/6] crypto: tcrypt - add more camellia tests
Date: Mon, 05 Mar 2012 20:26:26 +0200	[thread overview]
Message-ID: <20120305182626.25411.32315.stgit@localhost6.localdomain6> (raw)
In-Reply-To: <20120305182616.25411.58251.stgit@localhost6.localdomain6>

Add tests for CTR, LRW and XTS modes.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
---
 crypto/tcrypt.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 7736a9f..8f147bf 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1297,6 +1297,18 @@ static int do_test(int m)
 				speed_template_16_24_32);
 		test_cipher_speed("cbc(camellia)", DECRYPT, sec, NULL, 0,
 				speed_template_16_24_32);
+		test_cipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0,
+				speed_template_16_24_32);
+		test_cipher_speed("ctr(camellia)", DECRYPT, sec, NULL, 0,
+				speed_template_16_24_32);
+		test_cipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0,
+				speed_template_32_40_48);
+		test_cipher_speed("lrw(camellia)", DECRYPT, sec, NULL, 0,
+				speed_template_32_40_48);
+		test_cipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0,
+				speed_template_32_48_64);
+		test_cipher_speed("xts(camellia)", DECRYPT, sec, NULL, 0,
+				speed_template_32_48_64);
 		break;
 
 	case 206:

  parent reply	other threads:[~2012-03-05 18:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-05 18:26 [PATCH 0/6] x86_64 assembler implementation of camellia block cipher Jussi Kivilinna
2012-03-05 18:26 ` [PATCH 1/6] crypto: testmgr - add more camellia test vectors Jussi Kivilinna
2012-03-05 18:26 ` Jussi Kivilinna [this message]
2012-03-05 18:26 ` [PATCH 3/6] crypto: camellia - rename camellia module to camellia_generic Jussi Kivilinna
2012-03-05 18:26 ` [PATCH 4/6] crypto: camellia - fix checkpatch warnings Jussi Kivilinna
2012-03-05 18:26 ` [PATCH 5/6] crypto: camellia - rename camellia.c to camellia_generic.c Jussi Kivilinna
2012-03-05 18:26 ` [PATCH 6/6] crypto: camellia - add assembler implementation for x86_64 Jussi Kivilinna
2012-03-14  9:31 ` [PATCH 0/6] x86_64 assembler implementation of camellia block cipher 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=20120305182626.25411.32315.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