summaryrefslogtreecommitdiff
path: root/cipher/md5.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-04-14 17:51:11 +0000
committerWerner Koch <wk@gnupg.org>1998-04-14 17:51:11 +0000
commit85d94e41dd413ae2f5ddf363f241e96784444b67 (patch)
tree7fc9083499e1f32ecea505d9a1fb9a023615990d /cipher/md5.c
parent9a8d62b20eba18310d87eedb68828fa86326e1a2 (diff)
downloadlibgcrypt-85d94e41dd413ae2f5ddf363f241e96784444b67.tar.gz
applied Mathews typo and grammar fixes
Diffstat (limited to 'cipher/md5.c')
-rw-r--r--cipher/md5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cipher/md5.c b/cipher/md5.c
index 4a04abfd..7cc22b3b 100644
--- a/cipher/md5.c
+++ b/cipher/md5.c
@@ -107,9 +107,9 @@ transform( MD5_CONTEXT *ctx, const void *buffer, size_t len )
u32 D_save = D;
/* First round: using the given function, the context and a constant
- the next context is computed. Because the algorithms processing
- unit is a 32-bit word and it is determined to work on words in
- little endian byte order we perhaps have to change the byte order
+ the next context is computed. Because the algorithm's processing
+ unit is a 32-bit word, and it is determined to work on words in
+ little endian byte order, we perhaps have to change the byte order
before the computation. To reduce the work for the next steps
we store the swapped words in the array CORRECT_WORDS. */
@@ -127,7 +127,7 @@ transform( MD5_CONTEXT *ctx, const void *buffer, size_t len )
cyclic rotation. Hope the C compiler is smart enough. */
#define CYCLIC(w, s) (w = (w << s) | (w >> (32 - s)))
- /* Before we start, one word to the strange constants.
+ /* Before we start, one word about the strange constants.
They are defined in RFC 1321 as
T[i] = (int) (4294967296.0 * fabs (sin (i))), i=1..64