From 5feb3e1c46bdeeeaf2f2c307a66bedc900fe1f30 Mon Sep 17 00:00:00 2001 From: windwiny Date: Wed, 4 Jan 2012 16:58:55 +0800 Subject: add MODE_ECB test --- pct-speedtest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pct-speedtest.py') 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) -- cgit v1.2.1