Skip to content

Commit

Permalink
crypto: tcrypt - add async cipher speed tests for blowfish
Browse files Browse the repository at this point in the history
Signed-off-by: Jussi Kivilinna <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
jkivilin authored and herbertx committed Apr 25, 2013
1 parent 23a836e commit ad8b7c3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions crypto/tcrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1768,6 +1768,21 @@ static int do_test(int m)
speed_template_32_64);
break;

case 509:
test_acipher_speed("ecb(blowfish)", ENCRYPT, sec, NULL, 0,
speed_template_8_32);
test_acipher_speed("ecb(blowfish)", DECRYPT, sec, NULL, 0,
speed_template_8_32);
test_acipher_speed("cbc(blowfish)", ENCRYPT, sec, NULL, 0,
speed_template_8_32);
test_acipher_speed("cbc(blowfish)", DECRYPT, sec, NULL, 0,
speed_template_8_32);
test_acipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0,
speed_template_8_32);
test_acipher_speed("ctr(blowfish)", DECRYPT, sec, NULL, 0,
speed_template_8_32);
break;

case 1000:
test_available();
break;
Expand Down

0 comments on commit ad8b7c3

Please sign in to comment.