Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1432182

[PATCH 6/6] crypto: tcrypt - Add new mode for sha512_mb

From Megha Dey <megha.dey@intel.com>
Newsgroups linux.kernel
Subject [PATCH 6/6] crypto: tcrypt - Add new mode for sha512_mb
Date 2016-06-27 19:20 +0200
Message-ID <rOImu-3d4-33@gated-at.bofh.it> (permalink)
References <rOImt-3d4-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Megha Dey <megha.dey@linux.intel.com>

Add a new mode to calculate the speed of the sha512_mb algorithm

Signed-off-by: Megha Dey <megha.dey@linux.intel.com>
Reviewed-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Tim Chen <tim.c.chen@linux.intel.com>
---
 crypto/tcrypt.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 6ef7815..158c164 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1939,6 +1939,10 @@ static int do_test(const char *alg, u32 type, u32 mask, int m)
 		test_mb_ahash_speed("sha256", sec, generic_hash_speed_template);
 		if (mode > 400 && mode < 500) break;
 
+	case 424:
+		test_mb_ahash_speed("sha512", sec, generic_hash_speed_template);
+		if (mode > 400 && mode < 500) break;
+
 	case 499:
 		break;
 
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] crypto: SHA512 multibuffer implementation Megha Dey <megha.dey@intel.com> - 2016-06-27 19:20 +0200
  [PATCH 4/6] crypto: sha512-mb - Algorithm data structures Megha Dey <megha.dey@intel.com> - 2016-06-27 19:20 +0200
  [PATCH 5/6] crypto: sha512-mb - Crypto computation (x4 AVX2) Megha Dey <megha.dey@intel.com> - 2016-06-27 19:20 +0200
  [PATCH 1/6] crypto: sha512-mb - SHA512 multibuffer job manager and glue code Megha Dey <megha.dey@intel.com> - 2016-06-27 19:20 +0200
  [PATCH 6/6] crypto: tcrypt - Add new mode for sha512_mb Megha Dey <megha.dey@intel.com> - 2016-06-27 19:20 +0200
  Re: [PATCH 0/6] crypto: SHA512 multibuffer implementation Herbert Xu <herbert@gondor.apana.org.au> - 2016-06-28 10:40 +0200

csiph-web