From: Kyung Min Park <kyung.min.p...@intel.com> Add speed test for optimized GHASH computations with vectorized instructions. Introduce a new test suite to calculate the speed for this algorithm.
Signed-off-by: Kyung Min Park <kyung.min.p...@intel.com> Signed-off-by: Megha Dey <megha....@intel.com> --- crypto/tcrypt.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index a647bb2..6e2d74c6 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -2595,6 +2595,11 @@ static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb) generic_hash_speed_template, num_mb); if (mode > 400 && mode < 500) break; fallthrough; + case 428: + klen = 16; + test_ahash_speed("ghash", sec, generic_hash_speed_template); + if (mode > 400 && mode < 500) break; + fallthrough; case 499: break; -- 2.7.4