summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha/sha512.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/sha/sha512.c')
-rw-r--r--src/lib/libcrypto/sha/sha512.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/lib/libcrypto/sha/sha512.c b/src/lib/libcrypto/sha/sha512.c
index 32bfecbf9b..c92f18e418 100644
--- a/src/lib/libcrypto/sha/sha512.c
+++ b/src/lib/libcrypto/sha/sha512.c
@@ -346,36 +346,6 @@ static const SHA_LONG64 K512[80] = {
346 : "=r"(ret) \ 346 : "=r"(ret) \
347 : "r"(a),"K"(n)); ret; }) 347 : "r"(a),"K"(n)); ret; })
348# endif 348# endif
349# elif defined(_MSC_VER)
350# if defined(_WIN64) /* applies to both IA-64 and AMD64 */
351# pragma intrinsic(_rotr64)
352# define ROTR(a,n) _rotr64((a),n)
353# endif
354# if defined(_M_IX86) && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
355# if defined(I386_ONLY)
356 static SHA_LONG64 __fastcall __pull64be(const void *x)
357 { _asm mov edx, [ecx + 0]
358 _asm mov eax, [ecx + 4]
359 _asm xchg dh,dl
360 _asm xchg ah,al
361 _asm rol edx,16
362 _asm rol eax,16
363 _asm xchg dh,dl
364 _asm xchg ah,al
365 }
366# else
367 static SHA_LONG64 __fastcall __pull64be(const void *x)
368 { _asm mov edx, [ecx + 0]
369 _asm mov eax, [ecx + 4]
370 _asm bswap edx
371 _asm bswap eax
372 }
373# endif
374# define PULL64(x) __pull64be(&(x))
375# if _MSC_VER<=1200
376# pragma inline_depth(0)
377# endif
378# endif
379# endif 349# endif
380#endif 350#endif
381 351