diff options
Diffstat (limited to 'src/lib/libcrypto/md32_common.h')
-rw-r--r-- | src/lib/libcrypto/md32_common.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/libcrypto/md32_common.h b/src/lib/libcrypto/md32_common.h index bfb610e802..5276abfadc 100644 --- a/src/lib/libcrypto/md32_common.h +++ b/src/lib/libcrypto/md32_common.h | |||
@@ -199,7 +199,6 @@ | |||
199 | # if defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) | 199 | # if defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) |
200 | # if ((defined(__i386) || defined(__i386__)) && !defined(I386_ONLY)) || \ | 200 | # if ((defined(__i386) || defined(__i386__)) && !defined(I386_ONLY)) || \ |
201 | (defined(__x86_64) || defined(__x86_64__)) | 201 | (defined(__x86_64) || defined(__x86_64__)) |
202 | # if !defined(B_ENDIAN) | ||
203 | /* | 202 | /* |
204 | * This gives ~30-40% performance improvement in SHA-256 compiled | 203 | * This gives ~30-40% performance improvement in SHA-256 compiled |
205 | * with gcc [on P4]. Well, first macro to be frank. We can pull | 204 | * with gcc [on P4]. Well, first macro to be frank. We can pull |
@@ -212,7 +211,6 @@ | |||
212 | # define HOST_l2c(l,c) ({ unsigned int r=(l); \ | 211 | # define HOST_l2c(l,c) ({ unsigned int r=(l); \ |
213 | asm ("bswapl %0":"=r"(r):"0"(r)); \ | 212 | asm ("bswapl %0":"=r"(r):"0"(r)); \ |
214 | *((unsigned int *)(c))=r; (c)+=4; r; }) | 213 | *((unsigned int *)(c))=r; (c)+=4; r; }) |
215 | # endif | ||
216 | # endif | 214 | # endif |
217 | # endif | 215 | # endif |
218 | #endif | 216 | #endif |
@@ -251,11 +249,8 @@ | |||
251 | # endif | 249 | # endif |
252 | #endif | 250 | #endif |
253 | #if defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) | 251 | #if defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) |
254 | # ifndef B_ENDIAN | ||
255 | /* See comment in DATA_ORDER_IS_BIG_ENDIAN section. */ | ||
256 | # define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l) | 252 | # define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l) |
257 | # define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l) | 253 | # define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l) |
258 | # endif | ||
259 | #endif | 254 | #endif |
260 | 255 | ||
261 | #ifndef HOST_c2l | 256 | #ifndef HOST_c2l |