aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-05-16 08:30:32 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-05-16 08:30:32 -0400
commitd8efa499209a056f9334d3f772034c399fb695c0 (patch)
tree86f501356bfc43ab6a303a0314ef58dfa853cc5b
parent2a947c4a5b59e3abe0fc092a6d5f5b3e3ad00314 (diff)
downloadcryptography-d8efa499209a056f9334d3f772034c399fb695c0.tar.gz
cryptography-d8efa499209a056f9334d3f772034c399fb695c0.tar.bz2
cryptography-d8efa499209a056f9334d3f772034c399fb695c0.zip
native_size is not needed with the CFB8 approach we chose
-rw-r--r--cryptography/hazmat/primitives/ciphers/modes.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cryptography/hazmat/primitives/ciphers/modes.py b/cryptography/hazmat/primitives/ciphers/modes.py
index dee80fb3..3d320c25 100644
--- a/cryptography/hazmat/primitives/ciphers/modes.py
+++ b/cryptography/hazmat/primitives/ciphers/modes.py
@@ -75,9 +75,8 @@ class CFB(object):
@utils.register_interface(interfaces.ModeWithInitializationVector)
class CFB8(object):
name = "CFB8"
- NATIVE_SIZE = object()
- def __init__(self, initialization_vector, something=NATIVE_SIZE):
+ def __init__(self, initialization_vector):
self.initialization_vector = initialization_vector
def validate_for_algorithm(self, algorithm):