Browse Source

[crypto] Fix endianness typo in comment

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 7 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
 			i, *a, *b, *c, *d );
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
 	for ( i = 0 ; i < 4 ; i++ ) {
217
 	for ( i = 0 ; i < 4 ; i++ ) {
218
 		context->ddd.dd.digest.h[i] =
218
 		context->ddd.dd.digest.h[i] =
219
 			cpu_to_le32 ( context->ddd.dd.digest.h[i] +
219
 			cpu_to_le32 ( context->ddd.dd.digest.h[i] +

Loading…
Cancel
Save