From 864f7a0ceb89bd28b842ec5e0d0ed6abf112be9c Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 13 Mar 2006 13:26:41 +0000 Subject: fix MSVC 2005 warnings git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@217 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- idea.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'idea.h') diff --git a/idea.h b/idea.h index 4baa314..d7314a7 100644 --- a/idea.h +++ b/idea.h @@ -18,6 +18,14 @@ struct IDEA_Info : public FixedBlockSize<8>, public FixedKeyLength<16>, public F /// IDEA class IDEA : public IDEA_Info, public BlockCipherDocumentation { +public: // made public for internal purposes +#ifdef CRYPTOPP_NATIVE_DWORD_AVAILABLE + typedef word Word; +#else + typedef hword Word; +#endif + +private: class CRYPTOPP_NO_VTABLE Base : public BlockCipherImpl { public: @@ -29,7 +37,7 @@ class IDEA : public IDEA_Info, public BlockCipherDocumentation private: void EnKey(const byte *); void DeKey(); - FixedSizeSecBlock m_key; + FixedSizeSecBlock m_key; #ifdef IDEA_LARGECACHE static inline void LookupMUL(word &a, word b); -- cgit v1.2.1