From 8459bc3d154a470b57f9b1fe660e3c6dbe59508e Mon Sep 17 00:00:00 2001 From: Legrandin Date: Fri, 18 May 2012 13:48:36 +0200 Subject: Performance test: display CFB-8 as CFB mode being test --- pct-speedtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1