diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2011-09-26 09:47:15 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-10-21 08:23:08 -0400 |
commit | ee5002a5497f3219b4144b5370203ed6e43f7269 (patch) | |
tree | faaf83d74ebc823410c212b570a8aeab69e92bca /crypto | |
parent | a071d06e34ff361c7a8d1ddf3ce8a95d782fa25a (diff) |
crypto: tcrypt - add ctr(twofish) speed test
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-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 e353a28b0b17..fc35650645e8 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c | |||
@@ -1039,6 +1039,10 @@ static int do_test(int m) | |||
1039 | speed_template_16_24_32); | 1039 | speed_template_16_24_32); |
1040 | test_cipher_speed("cbc(twofish)", DECRYPT, sec, NULL, 0, | 1040 | test_cipher_speed("cbc(twofish)", DECRYPT, sec, NULL, 0, |
1041 | speed_template_16_24_32); | 1041 | speed_template_16_24_32); |
1042 | test_cipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0, | ||
1043 | speed_template_16_24_32); | ||
1044 | test_cipher_speed("ctr(twofish)", DECRYPT, sec, NULL, 0, | ||
1045 | speed_template_16_24_32); | ||
1042 | break; | 1046 | break; |
1043 | 1047 | ||
1044 | case 203: | 1048 | case 203: |