summaryrefslogtreecommitdiff
path: root/pct-speedtest.py
diff options
context:
space:
mode:
authorwindwiny <windwiny.ubt@gmail.com>2012-01-04 16:58:55 +0800
committerDwayne C. Litzenberger <dlitz@dlitz.net>2012-01-13 11:56:02 -0500
commit5feb3e1c46bdeeeaf2f2c307a66bedc900fe1f30 (patch)
tree6802e1550a2a393c8059b5a913f955eb0afef08c /pct-speedtest.py
parent7c3c710995aec06435997dc11969a34280e0e174 (diff)
downloadpycrypto-5feb3e1c46bdeeeaf2f2c307a66bedc900fe1f30.tar.gz
add MODE_ECB test
Diffstat (limited to 'pct-speedtest.py')
-rw-r--r--pct-speedtest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pct-speedtest.py b/pct-speedtest.py
index c1633b9..6b84ef0 100644
--- a/pct-speedtest.py
+++ b/pct-speedtest.py
@@ -205,6 +205,7 @@ class Benchmark:
self.test_encryption("%s-CFB" % (cipher_name,), module, key_bytes, module.MODE_CFB)
self.test_encryption("%s-PGP" % (cipher_name,), module, key_bytes, module.MODE_PGP)
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)
for cipher_name, module, key_bytes in stream_specs:
self.test_key_setup(cipher_name, module, key_bytes, None)