summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Brown2017-11-12 00:44:50 +0100
committerMichael Brown2017-11-12 00:45:31 +0100
commitfb6b66ce13af689b0b622b0898670dece645a8ab (patch)
treee6f1ac009373324c4bdc7e13641a1785542d1387 /src/crypto
parent[efi] Allow for building with older versions of elf.h system header (diff)
downloadipxe-fb6b66ce13af689b0b622b0898670dece645a8ab.tar.gz
ipxe-fb6b66ce13af689b0b622b0898670dece645a8ab.tar.xz
ipxe-fb6b66ce13af689b0b622b0898670dece645a8ab.zip
[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 f9738b0a..493591f3 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] +