Skip to content

Commit

Permalink
[crypto] Fix endianness typo in comment
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Nov 11, 2017
1 parent 1b67a05 commit fb6b66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/md5.c
Expand Up @@ -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] +
Expand Down

0 comments on commit fb6b66c

Please sign in to comment.