diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-28 01:00:09 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-28 01:00:09 +0000 |
commit | 2570b2e5759e8ac32b0922d71056bd426caae9f1 (patch) | |
tree | 742bbe33b5ec8ede49147150a2402472172be74b /libbb | |
parent | cf26ab70c11416401cd53e6a6a5fb4d5c2583246 (diff) | |
download | busybox-w32-2570b2e5759e8ac32b0922d71056bd426caae9f1.tar.gz busybox-w32-2570b2e5759e8ac32b0922d71056bd426caae9f1.tar.bz2 busybox-w32-2570b2e5759e8ac32b0922d71056bd426caae9f1.zip |
whitespace fixes
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/md5.c | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/libbb/md5.c b/libbb/md5.c index 9de37b9e4..56f97270d 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) | |||
206 | before the computation. To reduce the work for the next steps | 206 | before the computation. To reduce the work for the next steps |
207 | we store the swapped words in the array CORRECT_WORDS. */ | 207 | we store the swapped words in the array CORRECT_WORDS. */ |
208 | 208 | ||
209 | # define OP(a, b, c, d, s, T) \ | 209 | # define OP(a, b, c, d, s, T) \ |
210 | do \ | 210 | do { \ |
211 | { \ | 211 | a += FF (b, c, d) + (*cwp++ = SWAP_LE32(*words)) + T; \ |
212 | a += FF (b, c, d) + (*cwp++ = SWAP_LE32(*words)) + T; \ | 212 | ++words; \ |
213 | ++words; \ | 213 | CYCLIC (a, s); \ |
214 | CYCLIC (a, s); \ | 214 | a += b; \ |
215 | a += b; \ | 215 | } while (0) |
216 | } \ | ||
217 | while (0) | ||
218 | 216 | ||
219 | /* It is unfortunate that C does not provide an operator for | 217 | /* It is unfortunate that C does not provide an operator for |
220 | cyclic rotation. Hope the C compiler is smart enough. */ | 218 | 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) | |||
265 | in CORRECT_WORDS. Redefine the macro to take an additional first | 263 | in CORRECT_WORDS. Redefine the macro to take an additional first |
266 | argument specifying the function to use. */ | 264 | argument specifying the function to use. */ |
267 | # undef OP | 265 | # undef OP |
268 | # define OP(f, a, b, c, d, k, s, T) \ | 266 | # define OP(f, a, b, c, d, k, s, T) \ |
269 | do \ | 267 | do { \ |
270 | { \ | 268 | a += f (b, c, d) + correct_words[k] + T; \ |
271 | a += f (b, c, d) + correct_words[k] + T; \ | 269 | CYCLIC (a, s); \ |
272 | CYCLIC (a, s); \ | 270 | a += b; \ |
273 | a += b; \ | 271 | } while (0) |
274 | } \ | ||
275 | while (0) | ||
276 | 272 | ||
277 | /* Round 2. */ | 273 | /* Round 2. */ |
278 | # if MD5_SIZE_VS_SPEED == 1 | 274 | # if MD5_SIZE_VS_SPEED == 1 |