aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-18 09:49:53 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-18 09:49:53 -0800
commitcadf114a546a370d43c2c8e176dae311030904f7 (patch)
tree2d26be58b0b210daf33d96575b10693d247e45a1
parentc925b10c9a1638240a3be833d9e7271d4e3767ed (diff)
downloadcryptography-cadf114a546a370d43c2c8e176dae311030904f7.tar.gz
cryptography-cadf114a546a370d43c2c8e176dae311030904f7.tar.bz2
cryptography-cadf114a546a370d43c2c8e176dae311030904f7.zip
Make this comment more accurate
-rw-r--r--cryptography/hazmat/primitives/padding.py2
1 files changed, 1 insertions, 1 deletions
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;