diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2011-09-01 18:45:17 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-09-22 07:25:26 -0400 |
commit | 7d47b86cfef808c6580b7603c3f17fcaf27e9d14 (patch) | |
tree | 69295607f1e4aec43d1500476927bb438113ece2 /crypto | |
parent | 3f2a5d2d42e0784b6aa96c2e5dcdd64e28e838d6 (diff) |
crypto: tcrypt - add ctr(blowfish) speed test
Add ctr(blowfish) speed test to receive results for blowfish x86_64 assembly
patch.
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 2222617b3bed..e353a28b0b17 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c | |||
@@ -1050,6 +1050,10 @@ static int do_test(int m) | |||
1050 | speed_template_8_32); | 1050 | speed_template_8_32); |
1051 | test_cipher_speed("cbc(blowfish)", DECRYPT, sec, NULL, 0, | 1051 | test_cipher_speed("cbc(blowfish)", DECRYPT, sec, NULL, 0, |
1052 | speed_template_8_32); | 1052 | speed_template_8_32); |
1053 | test_cipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0, | ||
1054 | speed_template_8_32); | ||
1055 | test_cipher_speed("ctr(blowfish)", DECRYPT, sec, NULL, 0, | ||
1056 | speed_template_8_32); | ||
1053 | break; | 1057 | break; |
1054 | 1058 | ||
1055 | case 204: | 1059 | case 204: |