diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-18 15:05:03 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-18 15:05:03 -0800 |
commit | 41b148725fd688016098ecab51956b08fb890439 (patch) | |
tree | 795c7149917e77e8821352237f099399687a96de | |
parent | cdea8aa87bd98ad6277262803f4a2b8cb48153a3 (diff) | |
download | cryptography-41b148725fd688016098ecab51956b08fb890439.tar.gz cryptography-41b148725fd688016098ecab51956b08fb890439.tar.bz2 cryptography-41b148725fd688016098ecab51956b08fb890439.zip |
This is a static function
-rw-r--r-- | cryptography/hazmat/primitives/padding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/primitives/padding.py b/cryptography/hazmat/primitives/padding.py index 8df4549e..f1c64f4d 100644 --- a/cryptography/hazmat/primitives/padding.py +++ b/cryptography/hazmat/primitives/padding.py @@ -33,7 +33,7 @@ static uint8_t Cryptography_DUPLICATE_MSB_TO_ALL(uint8_t a) { /* This returns 0xFF if a < b else 0x00, but does so in a constant time fashion */ -uint8_t Cryptography_constant_time_lt(uint8_t a, uint8_t b) { +static uint8_t Cryptography_constant_time_lt(uint8_t a, uint8_t b) { a -= b; return Cryptography_DUPLICATE_MSB_TO_ALL(a); } |