From ed6a38953eedbbd1c2d8a6de36ad8869525523d4 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 1 Aug 2003 04:24:51 +0000 Subject: [PATCH] fix DLL build --- trunk/c5/integer.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/trunk/c5/integer.cpp b/trunk/c5/integer.cpp index 45f09db8..258007ab 100644 --- a/trunk/c5/integer.cpp +++ b/trunk/c5/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);}