From d8efa499209a056f9334d3f772034c399fb695c0 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 16 May 2014 08:30:32 -0400 Subject: native_size is not needed with the CFB8 approach we chose --- cryptography/hazmat/primitives/ciphers/modes.py | 3 +-- 1 file changed, 1 insertion(+), 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): -- cgit v1.2.3