diff --git a/integer.h b/integer.h index 66267c5a..f1d393a2 100644 --- a/integer.h +++ b/integer.h @@ -1,7 +1,7 @@ // integer.h - written and placed in the public domain by Wei Dai //! \file integer.h -//! \brief High performance arbitrary size integer class +//! \brief Multiple precision integer with arithmetic operations #ifndef CRYPTOPP_INTEGER_H #define CRYPTOPP_INTEGER_H diff --git a/secblock.h b/secblock.h index 862f28bd..375f8209 100644 --- a/secblock.h +++ b/secblock.h @@ -244,8 +244,11 @@ CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; +#if defined(CRYPTOPP_WORD128_AVAILABLE) +CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; // for Integer +#endif #if CRYPTOPP_BOOL_X86 -CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; // for Integer +CRYPTOPP_DLL_TEMPLATE_CLASS AllocatorWithCleanup; // for Integer #endif //! \class NullAllocator diff --git a/validat1.cpp b/validat1.cpp index 6a022d5c..36c888dd 100644 --- a/validat1.cpp +++ b/validat1.cpp @@ -1229,7 +1229,7 @@ bool TestSecBlock() try { static const unsigned int SIZE = 8; - SecBlockWithHint block(SIZE); + SecBlock > block(SIZE); memset(block, 0xaa, block.SizeInBytes()); temp = true;