瀏覽代碼

[crypto] Fix endianness typo in comment

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 7 年之前
父節點
當前提交
fb6b66ce13
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/crypto/md5.c

+ 1
- 1
src/crypto/md5.c 查看文件

@@ -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…
取消
儲存