aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography/hazmat/primitives/ciphers/algorithms.py
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2013-11-12 15:46:49 -0800
committerDavid Reid <dreid@dreid.org>2013-11-12 15:46:49 -0800
commit4faa094526f49c83a75d21a6e796546d4d539c6c (patch)
tree6544eb15030b279f49b930012a47868fc85e02cd /cryptography/hazmat/primitives/ciphers/algorithms.py
parent79a47162c95439db74f51c5e332f2904dd1ef3ae (diff)
parent3f3921e2d082fd99c6186ed7bb174caf481819bd (diff)
downloadcryptography-4faa094526f49c83a75d21a6e796546d4d539c6c.tar.gz
cryptography-4faa094526f49c83a75d21a6e796546d4d539c6c.tar.bz2
cryptography-4faa094526f49c83a75d21a6e796546d4d539c6c.zip
Merge pull request #251 from alex/dont-query-openssl
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 32acab14..c135f563 100644
--- a/cryptography/hazmat/primitives/ciphers/algorithms.py
+++ b/cryptography/hazmat/primitives/ciphers/algorithms.py
@@ -115,6 +115,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):