Browse Source

[crypto] Fix endianness typo in comment

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 6 years ago
parent
commit
fb6b66ce13
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/crypto/md5.c

+ 1
- 1
src/crypto/md5.c View File

@@ -213,7 +213,7 @@ static void md5_digest ( struct md5_context *context ) {
213 213
 			i, *a, *b, *c, *d );
214 214
 	}
215 215
 
216
-	/* Add chunk to hash and convert back to big-endian */
216
+	/* Add chunk to hash and convert back to little-endian */
217 217
 	for ( i = 0 ; i < 4 ; i++ ) {
218 218
 		context->ddd.dd.digest.h[i] =
219 219
 			cpu_to_le32 ( context->ddd.dd.digest.h[i] +

Loading…
Cancel
Save