summaryrefslogtreecommitdiff
path: root/whrlpool.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2009-03-13 11:15:21 +0000
committerweidai <weidai11@users.noreply.github.com>2009-03-13 11:15:21 +0000
commit3202bf2809a8fd86e753d94554673da72cf269ad (patch)
treeb4cbd949b59bbf44f8e627d3b91c3556754b9d06 /whrlpool.cpp
parent393a5eac05d04715e10134ae8d01fffca5e30fdc (diff)
downloadcryptopp-git-3202bf2809a8fd86e753d94554673da72cf269ad.tar.gz
fix compile on OpenSolaris 8.11
Diffstat (limited to 'whrlpool.cpp')
-rw-r--r--whrlpool.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/whrlpool.cpp b/whrlpool.cpp
index 1ebdecd3..9da12e3d 100644
--- a/whrlpool.cpp
+++ b/whrlpool.cpp
@@ -68,10 +68,6 @@
#include "misc.h"
#include "cpu.h"
-#if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE
-#include <emmintrin.h>
-#endif
-
NAMESPACE_BEGIN(CryptoPP)
void Whirlpool_TestInstantiations()
@@ -401,7 +397,7 @@ void Whirlpool::Transform(word64 *digest, const word64 *block)
// MMX version has the same structure as C version below
#ifdef __GNUC__
#if CRYPTOPP_BOOL_X64
- __m128i workspace[8];
+ word64 workspace[16];
#endif
__asm__ __volatile__
(