diff options
author | Legrandin <gooksankoo@hoiptorrow.mailexpire.com> | 2012-05-17 22:46:14 +0200 |
---|---|---|
committer | Legrandin <gooksankoo@hoiptorrow.mailexpire.com> | 2012-05-17 22:46:14 +0200 |
commit | 30a374dd4056ee54a05e78edb3d4fe666a9a8769 (patch) | |
tree | 30d8836f988e64fdb7d41294aa7659c93c0ee2ad /pct-speedtest.py | |
parent | 3a9b2da0d61d422512fb5781f2aa2eeeea5ef95d (diff) | |
download | pycrypto-30a374dd4056ee54a05e78edb3d4fe666a9a8769.tar.gz |
Added OPENPGP speed test
Diffstat (limited to 'pct-speedtest.py')
-rw-r--r-- | pct-speedtest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pct-speedtest.py b/pct-speedtest.py index 835286c..5424b5f 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-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) for cipher_name, module, key_bytes in stream_specs: self.test_key_setup(cipher_name, module, key_bytes, None) |