summaryrefslogtreecommitdiff
path: root/whrlpool.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-13 11:15:21 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-13 11:15:21 +0000
commit1c7bd8499b4eb0f5d0362661c86d9412f7c1bafc (patch)
treeb4cbd949b59bbf44f8e627d3b91c3556754b9d06 /whrlpool.cpp
parent5411864299d2db1c7640dd03ab55d158db1e20e1 (diff)
downloadcryptopp-1c7bd8499b4eb0f5d0362661c86d9412f7c1bafc.tar.gz
fix compile on OpenSolaris 8.11
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@450 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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 1ebdecd..9da12e3 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__
(