aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2017-11-11 23:44:50 +0000
committerMichael Brown <mcb30@ipxe.org>2017-11-11 23:45:31 +0000
commitfb6b66ce13af689b0b622b0898670dece645a8ab (patch)
treee6f1ac009373324c4bdc7e13641a1785542d1387 /src/crypto
parent1b67a0564657b6fcef18b1588ea6491ca1b1996d (diff)
downloadipxe-fb6b66ce13af689b0b622b0898670dece645a8ab.zip
ipxe-fb6b66ce13af689b0b622b0898670dece645a8ab.tar.gz
ipxe-fb6b66ce13af689b0b622b0898670dece645a8ab.tar.bz2
[crypto] Fix endianness typo in comment
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/md5.c b/src/crypto/md5.c
index f9738b0..493591f 100644
--- a/src/crypto/md5.c
+++ b/src/crypto/md5.c
@@ -213,7 +213,7 @@ static void md5_digest ( struct md5_context *context ) {
i, *a, *b, *c, *d );
}
- /* Add chunk to hash and convert back to big-endian */
+ /* Add chunk to hash and convert back to little-endian */
for ( i = 0 ; i < 4 ; i++ ) {
context->ddd.dd.digest.h[i] =
cpu_to_le32 ( context->ddd.dd.digest.h[i] +