diff options
author | Werner Koch <wk@gnupg.org> | 2002-09-17 12:38:22 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-09-17 12:38:22 +0000 |
commit | e2952f48b02182a55cc00ce2fecbe0fa619c762d (patch) | |
tree | 3b4801ed13ff40ab3a011e063a66f3e6edc5a254 /cipher/md5.c | |
parent | 04bf238ac21fcc09d48940d8871832216c1b327f (diff) | |
download | libgcrypt-e2952f48b02182a55cc00ce2fecbe0fa619c762d.tar.gz |
* random.c: Replaced mutex.h by the new ath.h. Changed all calls.
Diffstat (limited to 'cipher/md5.c')
-rw-r--r-- | cipher/md5.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cipher/md5.c b/cipher/md5.c index 34713a28..f03a301d 100644 --- a/cipher/md5.c +++ b/cipher/md5.c @@ -93,13 +93,13 @@ static void transform( MD5_CONTEXT *ctx, byte *data ) { u32 correct_words[16]; - u32 A = ctx->A; - u32 B = ctx->B; - u32 C = ctx->C; - u32 D = ctx->D; + register u32 A = ctx->A; + register u32 B = ctx->B; + register u32 C = ctx->C; + register u32 D = ctx->D; u32 *cwp = correct_words; - #ifdef BIG_ENDIAN_HOST +#ifdef BIG_ENDIAN_HOST { int i; byte *p2, *p1; for(i=0, p1=data, p2=(byte*)correct_words; i < 16; i++, p2 += 4 ) { @@ -109,9 +109,9 @@ transform( MD5_CONTEXT *ctx, byte *data ) p2[0] = *p1++; } } - #else +#else memcpy( correct_words, data, 64 ); - #endif +#endif #define OP(a, b, c, d, s, T) \ |