Thread (7 messages) flat view 7 messages, 1 author, 2016-03-24
STALE3795d REVIEWED: 2 (0M)

2 review trailers.

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

From: <hidden>
Date: 2016-03-24 20:23:42
Also in: lkml
Subsystem: crypto api, the rest · Maintainers: Herbert Xu, "David S. Miller", Linus Torvalds

From: Megha Dey <redacted>

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

Signed-off-by: Megha Dey <redacted>
Reviewed-by: Fenghua Yu <redacted>
Reviewed-by: Tim Chen <redacted>
---
 crypto/tcrypt.c | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index a2172e8..480bb75 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1892,6 +1892,12 @@ static int do_test(const char *alg, u32 type, u32 mask, int m)
 		if (mode > 400 && mode < 500)
 			break;
 
+	case 422:
+		test_mb_ahash_speed("sha512", sec,
+						generic_hash_speed_template);
+		if (mode > 400 && mode < 500)
+			break;
+
 	case 499:
 		break;
 
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help