From cadf114a546a370d43c2c8e176dae311030904f7 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 18 Nov 2013 09:49:53 -0800 Subject: Make this comment more accurate --- 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 03c03e37..00ac379c 100644 --- a/cryptography/hazmat/primitives/padding.py +++ b/cryptography/hazmat/primitives/padding.py @@ -34,7 +34,7 @@ static unsigned int Cryptography_DUPLICATE_MSB_TO_ALL(unsigned int a) { return (unsigned int)((int)(a) >> (sizeof(int) * 8 - 1)); } -/* This returns 0xFF if a < b else 0x00, but does so in a constant time +/* This returns 0xFFFF if a < b else 0x00, but does so in a constant time fashion */ unsigned int Cryptography_constant_time_lt(unsigned int a, unsigned int b) { a -= b; -- cgit v1.2.3