diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-02 13:47:38 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-01-02 13:47:38 -0800 |
commit | eba623f88260a9a076ce3a4a71d1d61755327e05 (patch) | |
tree | b056e77bf1a80238ccf657eb01f6ec4d6b3f434c | |
parent | 91f119e75865e72d66e8c8b4f24164988e5b8d20 (diff) | |
download | cryptography-eba623f88260a9a076ce3a4a71d1d61755327e05.tar.gz cryptography-eba623f88260a9a076ce3a4a71d1d61755327e05.tar.bz2 cryptography-eba623f88260a9a076ce3a4a71d1d61755327e05.zip |
Some flake8 fixes
-rw-r--r-- | cryptography/hazmat/primitives/constant_time.py | 3 | ||||
-rw-r--r-- | cryptography/hazmat/primitives/padding.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cryptography/hazmat/primitives/constant_time.py b/cryptography/hazmat/primitives/constant_time.py index c3d81221..e88a0d95 100644 --- a/cryptography/hazmat/primitives/constant_time.py +++ b/cryptography/hazmat/primitives/constant_time.py @@ -23,7 +23,8 @@ _ffi.cdef(""" uint8_t Cryptography_constant_time_bytes_eq(uint8_t *, size_t, uint8_t *, size_t); """) -_lib = _ffi.verify(""" +_lib = _ffi.verify( + """ uint8_t Cryptography_constant_time_bytes_eq(uint8_t *a, size_t len_a, uint8_t *b, size_t len_b) { size_t i = 0; diff --git a/cryptography/hazmat/primitives/padding.py b/cryptography/hazmat/primitives/padding.py index 7c5271cb..ddb2c63c 100644 --- a/cryptography/hazmat/primitives/padding.py +++ b/cryptography/hazmat/primitives/padding.py @@ -23,7 +23,8 @@ _ffi = cffi.FFI() _ffi.cdef(""" uint8_t Cryptography_check_pkcs7_padding(const uint8_t *, uint8_t); """) -_lib = _ffi.verify(""" +_lib = _ffi.verify( + """ /* Returns the value of the input with the most-significant-bit copied to all of the bits. */ static uint8_t Cryptography_DUPLICATE_MSB_TO_ALL(uint8_t a) { |