aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography/hazmat/primitives/ciphers/algorithms.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-12 14:27:55 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-12 14:27:55 -0800
commit3f3921e2d082fd99c6186ed7bb174caf481819bd (patch)
treeb611101e6e2c9bdabdb1d3c4615548f1d14f3e38 /cryptography/hazmat/primitives/ciphers/algorithms.py
parent906e195b2ea255d0e8153c25d273c918ea313ce3 (diff)
downloadcryptography-3f3921e2d082fd99c6186ed7bb174caf481819bd.tar.gz
cryptography-3f3921e2d082fd99c6186ed7bb174caf481819bd.tar.bz2
cryptography-3f3921e2d082fd99c6186ed7bb174caf481819bd.zip
Don't query OpenSSL for block sizes, we already know them
Diffstat (limited to 'cryptography/hazmat/primitives/ciphers/algorithms.py')
-rw-r--r--cryptography/hazmat/primitives/ciphers/algorithms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptography/hazmat/primitives/ciphers/algorithms.py b/cryptography/hazmat/primitives/ciphers/algorithms.py
index cbfaceb8..61e93b0e 100644
--- a/cryptography/hazmat/primitives/ciphers/algorithms.py
+++ b/cryptography/hazmat/primitives/ciphers/algorithms.py
@@ -120,6 +120,7 @@ class CAST5(object):
class ARC4(object):
name = "RC4"
+ block_size = 1
key_sizes = frozenset([40, 56, 64, 80, 128, 192, 256])
def __init__(self, key):