Skip to content

Commit e3899e4

Browse files
pdxChenherbertx
authored andcommitted
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>
1 parent 6a8ce1e commit e3899e4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎crypto/tcrypt.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,6 +1479,10 @@ static int do_test(int m)
14791479
test_hash_speed("ghash-generic", sec, hash_speed_template_16);
14801480
if (mode > 300 && mode < 400) break;
14811481

1482+
case 319:
1483+
test_hash_speed("crc32c", sec, generic_hash_speed_template);
1484+
if (mode > 300 && mode < 400) break;
1485+
14821486
case 399:
14831487
break;
14841488

0 commit comments

Comments
 (0)