public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: megha.dey@linux.intel.com
To: herbert@gondor.apana.org.au, davem@davemloft.net
Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org,
	tim.c.chen@linux.intel.com, fenghua.yu@intel.com,
	Megha Dey <megha.dey@linux.intel.com>
Subject: [PATCH 6/6] crypto: tcrypt - Add new mode for sha512_mb
Date: Thu, 24 Mar 2016 13:27:29 -0700	[thread overview]
Message-ID: <1458851249-3491-7-git-send-email-megha.dey@linux.intel.com> (raw)
In-Reply-To: <1458851249-3491-1-git-send-email-megha.dey@linux.intel.com>

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 | 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

  parent reply	other threads:[~2016-03-24 20:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-24 20:27 [PATCH 0/6] crypto: SHA512 multibuffer implementation megha.dey
2016-03-24 20:27 ` [PATCH 1/6] crypto: sha512-mb - SHA512 multibuffer job manager and glue code megha.dey
2016-03-24 20:27 ` [PATCH 2/6] crypto: sha512-mb - Enable SHA512 multibuffer support megha.dey
2016-03-24 20:27 ` [PATCH 3/6] crypto: sha512-mb - submit/flush routines for AVX2 megha.dey
2016-03-24 20:27 ` [PATCH 4/6] crypto: sha512-mb - Algorithm data structures megha.dey
2016-03-24 20:27 ` [PATCH 5/6] crypto: sha512-mb - Crypto computation (x4 AVX2) megha.dey
2016-03-24 20:27 ` megha.dey [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-06-27 17:20 [PATCH 0/6] crypto: SHA512 multibuffer implementation Megha Dey
2016-06-27 17:20 ` [PATCH 6/6] crypto: tcrypt - Add new mode for sha512_mb Megha Dey

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=1458851249-3491-7-git-send-email-megha.dey@linux.intel.com \
    --to=megha.dey@linux.intel.com \
    --cc=davem@davemloft.net \
    --cc=fenghua.yu@intel.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tim.c.chen@linux.intel.com \
    /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