summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-18 13:48:36 +0200
committerLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-18 13:48:36 +0200
commit8459bc3d154a470b57f9b1fe660e3c6dbe59508e (patch)
treed453497c2feea6594c64d1a4341dcf40001526ac
parent7f4abae9e2f9436098d571b7090a96daa0306f3b (diff)
downloadpycrypto-8459bc3d154a470b57f9b1fe660e3c6dbe59508e.tar.gz
Performance test: display CFB-8 as CFB mode being test
-rw-r--r--pct-speedtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pct-speedtest.py b/pct-speedtest.py
index 5424b5f..daed105 100644
--- a/pct-speedtest.py
+++ b/pct-speedtest.py
@@ -202,7 +202,7 @@ class Benchmark:
for cipher_name, module, key_bytes in block_specs:
self.test_key_setup(cipher_name, module, key_bytes, module.MODE_CBC)
self.test_encryption("%s-CBC" % (cipher_name,), module, key_bytes, module.MODE_CBC)
- self.test_encryption("%s-CFB" % (cipher_name,), module, key_bytes, module.MODE_CFB)
+ self.test_encryption("%s-CFB-8" % (cipher_name,), module, key_bytes, module.MODE_CFB)
self.test_encryption("%s-OFB" % (cipher_name,), module, key_bytes, module.MODE_OFB)
self.test_encryption("%s-ECB" % (cipher_name,), module, key_bytes, module.MODE_ECB)
self.test_encryption("%s-OPENPGP" % (cipher_name,), module, key_bytes, module.MODE_OPENPGP)