commit | a46ad0e09ab93114a9433ff69777e8952b37fdcd | [log] [tgz] |
---|---|---|
author | Donald Stufft <donald@stufft.io> | Sat Aug 10 18:33:00 2013 -0400 |
committer | Donald Stufft <donald@stufft.io> | Sat Aug 10 18:33:00 2013 -0400 |
tree | a243e7d486d13c9be92b1e5f9a8b63b0dc73e0f5 | |
parent | 32c51a3fe2f52eb797cdfcd300757dbf7e191f11 [diff] |
Ciphers should know what size blocks they use
diff --git a/cryptography/primitives/block/ciphers.py b/cryptography/primitives/block/ciphers.py index 17e7765..3d76afa 100644 --- a/cryptography/primitives/block/ciphers.py +++ b/cryptography/primitives/block/ciphers.py
@@ -14,6 +14,7 @@ class AES(object): name = "AES" + block_size = 128 key_sizes = set([128, 192, 256]) def __init__(self, key):