diff options
author | Terry Chia <terrycwk1994@gmail.com> | 2015-03-03 21:27:23 +0800 |
---|---|---|
committer | Terry Chia <terrycwk1994@gmail.com> | 2015-03-03 21:27:23 +0800 |
commit | 75934f55bddf673cf093534256091914f0fb08e0 (patch) | |
tree | 46190beb2921a79982bd795d4300e9ed92c5a225 | |
parent | 695d140ae2effd17ace1eeaefe2f5bc204a9b391 (diff) | |
download | cryptography-75934f55bddf673cf093534256091914f0fb08e0.tar.gz cryptography-75934f55bddf673cf093534256091914f0fb08e0.tar.bz2 cryptography-75934f55bddf673cf093534256091914f0fb08e0.zip |
Fix indentation.
-rw-r--r-- | src/cryptography/hazmat/primitives/src/padding.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cryptography/hazmat/primitives/src/padding.c b/src/cryptography/hazmat/primitives/src/padding.c index 2ac9fac9..570bad9f 100644 --- a/src/cryptography/hazmat/primitives/src/padding.c +++ b/src/cryptography/hazmat/primitives/src/padding.c @@ -5,14 +5,14 @@ /* 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) { - return (1 - (a >> (sizeof(uint8_t) * 8 - 1))) - 1; + return (1 - (a >> (sizeof(uint8_t) * 8 - 1))) - 1; } /* This returns 0xFF if a < b else 0x00, but does so in a constant time fashion */ static uint8_t Cryptography_constant_time_lt(uint8_t a, uint8_t b) { - a -= b; - return Cryptography_DUPLICATE_MSB_TO_ALL(a); + a -= b; + return Cryptography_DUPLICATE_MSB_TO_ALL(a); } uint8_t Cryptography_check_pkcs7_padding(const uint8_t *data, |