diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2012-09-27 15:44:24 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-10-15 22:18:25 +0800 |
commit | 2901ec2ef1c191bca0c8d743f00e5d33cb152f63 (patch) | |
tree | 13b7e8a3e73bc3326bf6d84ca84fdcfc65b11c79 | |
parent | b0124adaa46427246a4237ec08ef48fd36718cd3 (diff) | |
download | linux-crypto-2901ec2ef1c191bca0c8d743f00e5d33cb152f63.tar.gz linux-crypto-2901ec2ef1c191bca0c8d743f00e5d33cb152f63.zip |
crypto: tcrypt - Added speed test in tcrypt for crc32c
This patch adds a test case in tcrypt to perform speed test for
crc32c checksum calculation.
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r-- | crypto/tcrypt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index e87fa60f..7a3c4500 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -1479,6 +1479,10 @@ static int do_test(int m) test_hash_speed("ghash-generic", sec, hash_speed_template_16); if (mode > 300 && mode < 400) break; + case 319: + test_hash_speed("crc32c", sec, generic_hash_speed_template); + if (mode > 300 && mode < 400) break; + case 399: break; |