whitespace fixes

This commit is contained in:
Denis Vlasenko 2008-03-28 01:00:09 +00:00
parent cf26ab70c1
commit 2570b2e575
7 changed files with 42 additions and 46 deletions

View File

@ -207,14 +207,12 @@ static void md5_hash_block(const void *buffer, md5_ctx_t *ctx)
we store the swapped words in the array CORRECT_WORDS. */ we store the swapped words in the array CORRECT_WORDS. */
# define OP(a, b, c, d, s, T) \ # define OP(a, b, c, d, s, T) \
do \ do { \
{ \
a += FF (b, c, d) + (*cwp++ = SWAP_LE32(*words)) + T; \ a += FF (b, c, d) + (*cwp++ = SWAP_LE32(*words)) + T; \
++words; \ ++words; \
CYCLIC (a, s); \ CYCLIC (a, s); \
a += b; \ a += b; \
} \ } while (0)
while (0)
/* It is unfortunate that C does not provide an operator for /* It is unfortunate that C does not provide an operator for
cyclic rotation. Hope the C compiler is smart enough. */ cyclic rotation. Hope the C compiler is smart enough. */
@ -266,13 +264,11 @@ static void md5_hash_block(const void *buffer, md5_ctx_t *ctx)
argument specifying the function to use. */ argument specifying the function to use. */
# undef OP # undef OP
# define OP(f, a, b, c, d, k, s, T) \ # define OP(f, a, b, c, d, k, s, T) \
do \ do { \
{ \
a += f (b, c, d) + correct_words[k] + T; \ a += f (b, c, d) + correct_words[k] + T; \
CYCLIC (a, s); \ CYCLIC (a, s); \
a += b; \ a += b; \
} \ } while (0)
while (0)
/* Round 2. */ /* Round 2. */
# if MD5_SIZE_VS_SPEED == 1 # if MD5_SIZE_VS_SPEED == 1