diff --git a/integer.h b/integer.h index 28a50352..ffd8bce6 100644 --- a/integer.h +++ b/integer.h @@ -18,7 +18,12 @@ struct InitializeInteger InitializeInteger(); }; +// http://github.com/weidai11/cryptopp/issues/256 +#if defined(CRYPTOPP_WORD128_AVAILABLE) +typedef SecBlock > IntegerSecBlock; +#else typedef SecBlock > IntegerSecBlock; +#endif //! \brief Multiple precision integer with arithmetic operations //! \details The Integer class can represent positive and negative integers