소스 검색

Restored the le32_to_cpus() and cpu_to_le32s() calls

tags/v0.9.3
Michael Brown 19 년 전
부모
커밋
4ef1ef0ee4
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6
    2
      src/crypto/md5.c

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

6
  * Derived from cryptoapi implementation, originally based on the
6
  * Derived from cryptoapi implementation, originally based on the
7
  * public domain implementation written by Colin Plumb in 1993.
7
  * public domain implementation written by Colin Plumb in 1993.
8
  *
8
  *
9
+ * Reduced object size by around 50% compared to the original Linux
10
+ * version for use in Etherboot by Michael Brown.
11
+ *
9
  * Copyright (c) Cryptoapi developers.
12
  * Copyright (c) Cryptoapi developers.
10
  * Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
13
  * Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
14
+ * Copyright (c) 2006 Michael Brown <mbrown@fensystems.co.uk>
11
  * 
15
  * 
12
  * This program is free software; you can redistribute it and/or modify it
16
  * This program is free software; you can redistribute it and/or modify it
13
  * under the terms of the GNU General Public License as published by the Free
17
  * under the terms of the GNU General Public License as published by the Free
143
 static inline void le32_to_cpu_array(u32 *buf, unsigned int words)
147
 static inline void le32_to_cpu_array(u32 *buf, unsigned int words)
144
 {
148
 {
145
 	while (words--) {
149
 	while (words--) {
146
-		//		__le32_to_cpus(buf);
150
+		le32_to_cpus(buf);
147
 		buf++;
151
 		buf++;
148
 	}
152
 	}
149
 }
153
 }
151
 static inline void cpu_to_le32_array(u32 *buf, unsigned int words)
155
 static inline void cpu_to_le32_array(u32 *buf, unsigned int words)
152
 {
156
 {
153
 	while (words--) {
157
 	while (words--) {
154
-		//		__cpu_to_le32s(buf);
158
+		cpu_to_le32s(buf);
155
 		buf++;
159
 		buf++;
156
 	}
160
 	}
157
 }
161
 }

Loading…
취소
저장