Sfoglia il codice sorgente

[crypto] Fix endianness typo in comment

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 7 anni fa
parent
commit
fb6b66ce13
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/crypto/md5.c

+ 1
- 1
src/crypto/md5.c Vedi File

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

Loading…
Annulla
Salva