소스 검색

[crypto] Fix endianness typo in comment

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 년 전
부모
커밋
fb6b66ce13
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/crypto/md5.c

+ 1
- 1
src/crypto/md5.c 파일 보기

213
 			i, *a, *b, *c, *d );
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
 	for ( i = 0 ; i < 4 ; i++ ) {
217
 	for ( i = 0 ; i < 4 ; i++ ) {
218
 		context->ddd.dd.digest.h[i] =
218
 		context->ddd.dd.digest.h[i] =
219
 			cpu_to_le32 ( context->ddd.dd.digest.h[i] +
219
 			cpu_to_le32 ( context->ddd.dd.digest.h[i] +

Loading…
취소
저장