From 41b148725fd688016098ecab51956b08fb890439 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 18 Nov 2013 15:05:03 -0800 Subject: This is a static function --- cryptography/hazmat/primitives/padding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3