Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH 1/3] crypto: tcrypt - add async speed test for camellia cipher
@ 2012-10-23 18:02 Jussi Kivilinna
  2012-10-23 18:02 ` [PATCH 2/3] crypto: camellia-x86_64 - share common functions and move structures and function definitions to header file Jussi Kivilinna
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jussi Kivilinna @ 2012-10-23 18:02 UTC (permalink / raw)
  To: linux-crypto; +Cc: Herbert Xu, David S. Miller

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

diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 71b58c6..7ae2130 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1728,6 +1728,29 @@ static int do_test(int m)
 				   speed_template_32_64);
 		break;
 
+	case 508:
+		test_acipher_speed("ecb(camellia)", ENCRYPT, sec, NULL, 0,
+				   speed_template_16_32);
+		test_acipher_speed("ecb(camellia)", DECRYPT, sec, NULL, 0,
+				   speed_template_16_32);
+		test_acipher_speed("cbc(camellia)", ENCRYPT, sec, NULL, 0,
+				   speed_template_16_32);
+		test_acipher_speed("cbc(camellia)", DECRYPT, sec, NULL, 0,
+				   speed_template_16_32);
+		test_acipher_speed("ctr(camellia)", ENCRYPT, sec, NULL, 0,
+				   speed_template_16_32);
+		test_acipher_speed("ctr(camellia)", DECRYPT, sec, NULL, 0,
+				   speed_template_16_32);
+		test_acipher_speed("lrw(camellia)", ENCRYPT, sec, NULL, 0,
+				   speed_template_32_48);
+		test_acipher_speed("lrw(camellia)", DECRYPT, sec, NULL, 0,
+				   speed_template_32_48);
+		test_acipher_speed("xts(camellia)", ENCRYPT, sec, NULL, 0,
+				   speed_template_32_64);
+		test_acipher_speed("xts(camellia)", DECRYPT, sec, NULL, 0,
+				   speed_template_32_64);
+		break;
+
 	case 1000:
 		test_available();
 		break;

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

end of thread, other threads:[~2012-10-24  7:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-23 18:02 [PATCH 1/3] crypto: tcrypt - add async speed test for camellia cipher Jussi Kivilinna
2012-10-23 18:02 ` [PATCH 2/3] crypto: camellia-x86_64 - share common functions and move structures and function definitions to header file Jussi Kivilinna
2012-10-23 18:06   ` David Miller
2012-10-24  7:35   ` Jussi Kivilinna
2012-10-23 18:03 ` [PATCH 3/3] crypto: camellia - add AES-NI/AVX/x86_64 assembler implementation of camellia cipher Jussi Kivilinna
2012-10-23 18:06   ` David Miller
2012-10-23 18:06 ` [PATCH 1/3] crypto: tcrypt - add async speed test for " David Miller

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