Commit Graph

41 Commits (1bbbfb6b7538e88f979c68aa70d6427ce2e98cc0)

Author SHA1 Message Date
Jeffrey Walton 506f90bcc8
Fix VS2010 and "error C2065: uint32_t: undeclared identifier" (GH #608)
We could fix aria.cpp by using word32. However, NaCl gear uses int64_t and we don't have a typedef setup for it. So we will need <cstdint> later for NaCl
2018-03-27 19:18:44 -04:00
Jeffrey Walton a6c9419059
Update documentation 2018-03-25 15:31:43 -04:00
Jeffrey Walton d165544131
Update documentation 2018-03-25 15:14:18 -04:00
Jeffrey Walton ff82b5a886
Fix incorrect InverseMod (GH #602) (#603) 2018-03-25 00:43:21 -04:00
Jeffrey Walton 61ec50dabe
Change Doxygen comment style from //! to ///
Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
2017-11-29 10:54:33 -05:00
Jeffrey Walton 2c9a3039e8
Update documentation
This cleanup was performed using Clang and -Wdocumentation -Wno-documentation-deprecated-sync
2017-07-27 19:15:21 -04:00
Jeffrey Walton c305e88127
Fix runtime crash when CRYPTOPP_INIT_PRIORITY=0
Couple use of initialization priorities to no NO_OS_DEPENDENCE
Add comments explaining what integer does, how it does it, and why we want to inprove on the Singleton pattern as a resource manager.
Update documentation.
2017-03-27 06:06:12 -04:00
Jeffrey Walton 0e55f5ac7d
Remove g_pAssignIntToInteger pointer, add CRYPTOPP_NO_ASSIGN_TO_INTEGER (Issue 389)
This effectively decouples Integer and Public Key from the rest of the library. The change means a compile time define is used rather than a runtime pointer. It avoids the race with Issue 389.
The Public Key algorithms will fail if you use them. For example, running the self tests with CRYPTOPP_NO_ASSIGN_TO_INTEGER in effect results in "CryptoPP::Exception caught: NameValuePairs: type mismatch for 'EquivalentTo', stored 'i', trying to retrieve 'N8CryptoPP7IntegerE'". The exception is expected, and the same happend when g_pAssignIntToInteger was present.
2017-03-25 16:38:42 -04:00
Jeffrey Walton 301437e693
Updated static initializers
When MSVC init_seg or GCC init_priority is available, we don't need to use the Singleton. We only need to create a file scope class variable and place it in the segment for MSVC or provide the attribute for GCC.
An additional upside is we cleared all the memory leaks that used to be reported by MSVC for debug builds.
2017-03-17 20:47:32 -04:00
Jeffrey Walton 62f92dd592
Change next version from 5.7 to 6.0
Crypto++ 5.7 was the increment after the 5.6.5 release. Crypto++ 6.0 accurately reflects compatibility
2017-02-21 12:59:20 -05:00
Jeffrey Walton 81b1a18063
Change file preamble to include "originally written by Wei Dai"
We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
2017-01-27 07:05:45 -05:00
Jeffrey Walton 81669590d5
Update documentation
Added additional asserts
2017-01-23 19:25:06 -05:00
klemens 5a5c633073 spelling fixes 2016-12-27 18:34:57 +01:00
Jeffrey Walton 16ffe513a4
Add Integer bitwise AND, OR and XOR (Issue 336) 2016-11-23 21:55:30 -05:00
Jeffrey Walton 1ba8142195
Guard XOR of optional xorBlock. Updated documentation 2016-11-14 03:48:21 -05:00
Jeffrey Walton ca594ff525 Updated documentation 2016-09-09 10:51:38 -04:00
Jeffrey Walton d5f2194be0 Updated documentation 2016-09-09 05:33:44 -04:00
Jeffrey Walton 36d769e907 Updated documentation 2016-09-09 05:19:29 -04:00
Jeffrey Walton 42085eea41 Change alignment of IntegerSecBlock to 16 when CRYPTOPP_WORD128_AVAILABLE is in effect (Issue 256) 2016-09-08 19:57:39 -04:00
Jeffrey Walton c2d60cc91f Removed ARMEL work-arounds from Integer class. 2016-09-08 09:42:47 -04:00
Jeffrey Walton 58b7d1c413 Updated documentation 2016-01-14 16:01:17 -05:00
DevJPM f8d5d8274e Update integer.h 2016-01-12 21:53:56 +01:00
Jeffrey Walton 6ac1e46a1f Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:32:28 -05:00
Jeffrey Walton 48809d4e85 CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
Jeffrey Walton 22c3e41133 Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
weidai eeb9ff5e0b fix C++Builder 2009 compile, update Readme and License 2009-03-15 09:44:42 +00:00
weidai 643b302227 MMX/SSE2 optimizations 2007-04-15 23:00:27 +00:00
weidai 146e78f4c9 fix compile on MSVC2002 and MSVC6 without Processor Pack 2006-12-25 08:10:19 +00:00
weidai 1012e664ef improve Integer initialization 2006-06-09 06:28:22 +00:00
weidai 922fdeb150 fix MSVC 2005 warnings 2006-03-13 13:26:41 +00:00
weidai 09bb1aab64 port to GCC 4 2005-09-05 21:43:43 +00:00
weidai 1db8ea5084 port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
weidai b3924f2108 changes done for FIPS-140 lab code drop 2005-01-20 04:19:35 +00:00
weidai d617e3d925 fix compile with -msse2 on systems without memalign() 2004-07-18 09:23:13 +00:00
weidai 5bee373ff3 disable x86 assembly on systems without GNU as 2.10 or later 2004-06-19 11:00:52 +00:00
weidai 93d56c76c1 enable SSE2 intrinsics on GCC 3.3 or later 2003-07-31 01:54:53 +00:00
weidai 57109b3120 fix bugs in 64-bit CPU support 2003-07-25 00:15:52 +00:00
weidai f278895908 create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
weidai 6c4437d03d sync with private branch 2003-06-06 02:34:03 +00:00
weidai 6698a18606 fix warnings for VC7 and GCC 2003-03-20 20:39:59 +00:00
weidai a3b6ece7ab Initial revision 2002-10-04 17:31:41 +00:00