aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTerry Chia <terrycwk1994@gmail.com>2015-03-03 21:27:23 +0800
committerTerry Chia <terrycwk1994@gmail.com>2015-03-03 21:27:23 +0800
commit75934f55bddf673cf093534256091914f0fb08e0 (patch)
tree46190beb2921a79982bd795d4300e9ed92c5a225 /src
parent695d140ae2effd17ace1eeaefe2f5bc204a9b391 (diff)
downloadcryptography-75934f55bddf673cf093534256091914f0fb08e0.tar.gz
cryptography-75934f55bddf673cf093534256091914f0fb08e0.tar.bz2
cryptography-75934f55bddf673cf093534256091914f0fb08e0.zip
Fix indentation.
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/primitives/src/padding.c6
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,