summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-17 22:46:14 +0200
committerLegrandin <gooksankoo@hoiptorrow.mailexpire.com>2012-05-17 22:46:14 +0200
commit30a374dd4056ee54a05e78edb3d4fe666a9a8769 (patch)
tree30d8836f988e64fdb7d41294aa7659c93c0ee2ad
parent3a9b2da0d61d422512fb5781f2aa2eeeea5ef95d (diff)
downloadpycrypto-30a374dd4056ee54a05e78edb3d4fe666a9a8769.tar.gz
Added OPENPGP speed test
-rw-r--r--pct-speedtest.py1
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)