[crypto] Fix endianness typo in comment

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/179/head
Michael Brown 2017-11-11 23:44:50 +00:00
parent 1b67a05646
commit fb6b66ce13
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ static void md5_digest ( struct md5_context *context ) {
i, *a, *b, *c, *d ); 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++ ) { for ( i = 0 ; i < 4 ; i++ ) {
context->ddd.dd.digest.h[i] = context->ddd.dd.digest.h[i] =
cpu_to_le32 ( context->ddd.dd.digest.h[i] + cpu_to_le32 ( context->ddd.dd.digest.h[i] +