summaryrefslogtreecommitdiff
path: root/libbb/md5.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-03-28 01:00:09 +0000
committerDenis Vlasenko2008-03-28 01:00:09 +0000
commit2570b2e5759e8ac32b0922d71056bd426caae9f1 (patch)
tree742bbe33b5ec8ede49147150a2402472172be74b /libbb/md5.c
parentcf26ab70c11416401cd53e6a6a5fb4d5c2583246 (diff)
downloadbusybox-2570b2e5759e8ac32b0922d71056bd426caae9f1.zip
busybox-2570b2e5759e8ac32b0922d71056bd426caae9f1.tar.gz
whitespace fixes
Diffstat (limited to 'libbb/md5.c')
-rw-r--r--libbb/md5.c30
1 files changed, 13 insertions, 17 deletions
diff --git a/libbb/md5.c b/libbb/md5.c
index 9de37b9..56f9727 100644
--- a/libbb/md5.c
+++ b/libbb/md5.c
@@ -206,15 +206,13 @@ static void md5_hash_block(const void *buffer, md5_ctx_t *ctx)
before the computation. To reduce the work for the next steps
we store the swapped words in the array CORRECT_WORDS. */
-# define OP(a, b, c, d, s, T) \
- do \
- { \
- a += FF (b, c, d) + (*cwp++ = SWAP_LE32(*words)) + T; \
- ++words; \
- CYCLIC (a, s); \
- a += b; \
- } \
- while (0)
+# define OP(a, b, c, d, s, T) \
+ do { \
+ a += FF (b, c, d) + (*cwp++ = SWAP_LE32(*words)) + T; \
+ ++words; \
+ CYCLIC (a, s); \
+ a += b; \
+ } while (0)
/* It is unfortunate that C does not provide an operator for
cyclic rotation. Hope the C compiler is smart enough. */
@@ -265,14 +263,12 @@ static void md5_hash_block(const void *buffer, md5_ctx_t *ctx)
in CORRECT_WORDS. Redefine the macro to take an additional first
argument specifying the function to use. */
# undef OP
-# define OP(f, a, b, c, d, k, s, T) \
- do \
- { \
- a += f (b, c, d) + correct_words[k] + T; \
- CYCLIC (a, s); \
- a += b; \
- } \
- while (0)
+# define OP(f, a, b, c, d, k, s, T) \
+ do { \
+ a += f (b, c, d) + correct_words[k] + T; \
+ CYCLIC (a, s); \
+ a += b; \
+ } while (0)
/* Round 2. */
# if MD5_SIZE_VS_SPEED == 1