summaryrefslogtreecommitdiff
path: root/integer.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-08-01 04:24:51 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-08-01 04:24:51 +0000
commit1a566c0935f5886e8c6cd9d426f01e667d3d4173 (patch)
tree3d90b892cd9d1552e21de0ccc0b6a4adaa490968 /integer.cpp
parent5bef048ac188ba8fbcb8cb0cd67611706d67a33e (diff)
downloadcryptopp-1a566c0935f5886e8c6cd9d426f01e667d3d4173.tar.gz
fix DLL build
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@126 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'integer.cpp')
-rw-r--r--integer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/integer.cpp b/integer.cpp
index 45f09db..258007a 100644
--- a/integer.cpp
+++ b/integer.cpp
@@ -927,14 +927,14 @@ public:
static word CRYPTOPP_CDECL Add(word *C, const word *A, const word *B, unsigned int N);
static word CRYPTOPP_CDECL Subtract(word *C, const word *A, const word *B, unsigned int N);
#ifdef SSE2_INTRINSICS_AVAILABLE
- static void Multiply4(word *C, const word *A, const word *B);
- static void Multiply8(word *C, const word *A, const word *B);
- static void Multiply8Bottom(word *C, const word *A, const word *B);
+ static void CRYPTOPP_CDECL Multiply4(word *C, const word *A, const word *B);
+ static void CRYPTOPP_CDECL Multiply8(word *C, const word *A, const word *B);
+ static void CRYPTOPP_CDECL Multiply8Bottom(word *C, const word *A, const word *B);
#endif
};
typedef word (CRYPTOPP_CDECL * PAddSub)(word *C, const word *A, const word *B, unsigned int N);
-typedef void (* PMul)(word *C, const word *A, const word *B);
+typedef void (CRYPTOPP_CDECL * PMul)(word *C, const word *A, const word *B);
static PAddSub s_pAdd, s_pSub;
#ifdef SSE2_INTRINSICS_AVAILABLE
@@ -981,9 +981,9 @@ void DisableSSE2()
class LowLevel : public PentiumOptimized
{
public:
- inline static word CRYPTOPP_CDECL Add(word *C, const word *A, const word *B, unsigned int N)
+ inline static word Add(word *C, const word *A, const word *B, unsigned int N)
{return s_pAdd(C, A, B, N);}
- inline static word CRYPTOPP_CDECL Subtract(word *C, const word *A, const word *B, unsigned int N)
+ inline static word Subtract(word *C, const word *A, const word *B, unsigned int N)
{return s_pSub(C, A, B, N);}
inline static void Square4(word *R, const word *A)
{Multiply4(R, A, A);}