Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed VC++ 5.0 and 6.0 workarounds (Issue 342) | Jeffrey Walton | 2016-12-03 | 1 | -19/+8 |
| | |||||
* | Silence select conversion warnings (Issue 340) | Jeffrey Walton | 2016-12-02 | 1 | -0/+6 |
| | |||||
* | Switch from WordCount() to reg.size() for bitops | Jeffrey Walton | 2016-11-26 | 1 | -12/+12 |
| | | | | This avoids a potential problem when OR'ing with 0 that results in a WordCount() of 1. Integer's minimum reg[] size is 2 due to RoundupSize(), and there could be implicit assumptions for the minimum that did not surface under testing | ||||
* | Switch from WordCount() to reg.size() for bitops | Jeffrey Walton | 2016-11-26 | 1 | -11/+11 |
| | | | | This avoids a potential problem when OR'ing with 0 that results in a WordCount() of 1. Integer's minimum reg[] size is 2 due to RoundupSize(), and there could be implicit assumptions for the minimum that did not surface under testing | ||||
* | Add Integer bitwise AND, OR and XOR (Issue 336) | Jeffrey Walton | 2016-11-23 | 1 | -0/+136 |
| | |||||
* | Cleanup comments | Jeffrey Walton | 2016-10-18 | 1 | -2/+2 |
| | |||||
* | Updated CRYPTOPP_ASSERT based on comments | Jeffrey Walton | 2016-10-17 | 1 | -2/+2 |
| | | | | Also see https://github.com/weidai11/cryptopp/commit/399a1546de71f41598c15edada28e7f0d616f541#commitcomment-19448453 | ||||
* | Add statics to anonymous namespace | Jeffrey Walton | 2016-10-10 | 1 | -3/+3 |
| | |||||
* | Cutover to SecByteBlock member for AES (Issue 302, CVE-2016-7544) | Jeffrey Walton | 2016-09-30 | 1 | -81/+113 |
| | |||||
* | Change to file scope statics for Zero(), One(), Two() (Thanks DB, Issue 310) | Jeffrey Walton | 2016-09-29 | 1 | -3/+9 |
| | |||||
* | Make Singleton<Integer> static with function scope (Issue 310) | Jeffrey Walton | 2016-09-29 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | This may not fix the issue. Drilling into the issue from the web-based dashboard, Coverity is targeting: 1. noescape: CryptoPP::Integer::operator =(CryptoPP::Integer const &) does not free or save its parameter t. 3049 Integer& Integer::operator=(const Integer& t) 3050 { 3051 if (this != &t) 3052 { 3053 if (reg.size() != t.reg.size() || t.reg[t.reg.size()/2] == 0) 3054 reg.New(RoundupSize(t.WordCount())); 3055 CopyWords(reg, t.reg, reg.size()); 3056 sign = t.sign; 3057 } 3058 return *this; 3059 } | ||||
* | Cleared Coverity finding CID 170385 (UNINIT_CTOR) (Issue 293) | Jeffrey Walton | 2016-09-20 | 1 | -13/+22 |
| | |||||
* | Change from NDEBUG to CRYPTOPP_DEBUG in source files to ensure all debug ↵ | Jeffrey Walton | 2016-09-16 | 1 | -6/+6 |
| | | | | behavior pivots on CRYPTOPP_DEBUG, and not NDEBUG (Issue 277, CVE-2016-7420) | ||||
* | Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420) | Jeffrey Walton | 2016-09-16 | 1 | -60/+60 |
| | | | | trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420 | ||||
* | Cleared "Types cannot be declared in anonymous union" (Issue 274) | Jeffrey Walton | 2016-09-15 | 1 | -16/+20 |
| | | | | Thanks to Martin Bonner at http://stackoverflow.com/a/39507183 | ||||
* | Removed ARMEL work-arounds from Integer class. | Jeffrey Walton | 2016-09-08 | 1 | -14/+0 |
| | |||||
* | Cleared SDLC warning under Visual Studio 2005 | Jeffrey Walton | 2016-07-13 | 1 | -1/+1 |
| | |||||
* | Fix "Error: The operand ___LKDB cannot be assigned to" under Sun Studio 12.5 ↵ | Jeffrey Walton | 2016-07-08 | 1 | -1/+1 |
| | | | | (formerly Issue 188) | ||||
* | Merge 'solaris' dev branch into 'master' | Jeffrey Walton | 2016-06-15 | 1 | -44/+112 |
| | |||||
* | Cleared compile errors under Visual Studio .Net compilers | Jeffrey Walton | 2016-04-29 | 1 | -2/+2 |
| | |||||
* | Use stdext::make_checked_array_iterator for reverse_copy on VS2008 and above ↵ | Jeffrey Walton | 2016-02-05 | 1 | -5/+9 |
| | | | | (Issue 123) | ||||
* | Cleared uninitialized variable warning | Jeffrey Walton | 2016-01-24 | 1 | -1/+1 |
| | |||||
* | Fix compilation for armeabi with gcc-4.9, 5.0 toolchains | Alexander Afanasyev | 2016-01-23 | 1 | -1/+1 |
| | | | | Refs: #119 | ||||
* | moved BE case before LE to improve performance | DevJPM | 2016-01-14 | 1 | -25/+25 |
| | |||||
* | finalized patch | DevJPM | 2016-01-13 | 1 | -7/+32 |
| | | | added final components of the Integer patch | ||||
* | applied main changes | DevJPM | 2016-01-13 | 1 | -19/+91 |
| | | | applied main changes from the Integer Patch | ||||
* | added std::showbase support | DevJPM | 2016-01-13 | 1 | -1/+8 |
| | | | applied the std::showbase part of the integer patch | ||||
* | Increase range for GCC workaround on ARMEL. After speaking with AP from GCC, ↵ | Jeffrey Walton | 2016-01-09 | 1 | -1/+1 |
| | | | | he states some issues are still likely present in Master, which is GCC 6.0 | ||||
* | Work around issue on ARMEL in MultiplyTop and GCC. ARMHF is OK | Jeffrey Walton | 2016-01-08 | 1 | -0/+14 |
| | |||||
* | Fixed hang on ARM platforms in Integer::DivideThreeWordsByTwo | Jeffrey Walton | 2016-01-08 | 1 | -28/+0 |
| | |||||
* | Microsoft ARM support | Marco Deckel | 2015-12-14 | 1 | -2/+2 |
| | | | | * Adjusted config to compile for Microsoft ARM (e.g. Windows Universal apps) | ||||
* | Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 ↵ | Jeffrey Walton | 2015-11-18 | 1 | -30/+154 |
| | | | | (Coverity rollup) | ||||
* | CRYPTOPP 5.6.3 RC6 checkin | Jeffrey Walton | 2015-11-05 | 1 | -4245/+4280 |
| | |||||
* | Cleared "-Wunused-but-set-variable" warning due to Bot_2 macro on x86_64 | Jeffrey Walton | 2015-08-03 | 1 | -0/+8 |
| | |||||
* | Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → ↵ | Jeffrey Walton | 2015-07-30 | 1 | -1/+1 |
| | | | | std::cerr, ... | ||||
* | Cut-in CRYPTOPP_ASSERT in all remaining header and source files | Jeffrey Walton | 2015-07-26 | 1 | -50/+50 |
| | |||||
* | Added "trap.h" include for header and source files that assert | Jeffrey Walton | 2015-07-26 | 1 | -0/+1 |
| | |||||
* | Backed out commit 1dc875a44a2ef07fe9e86ac07d0dc70a4efb1fbd. MinGW complained ↵ | Jeffrey Walton | 2015-07-25 | 1 | -2/+0 |
| | | | | "error: 'p0' was not declared in this scope". Thanks to Ilya Bizyaev for reporting | ||||
* | Cleared "unused variable" warning under GCC 5.1 | Jeffrey Walton | 2015-07-25 | 1 | -0/+2 |
| | |||||
* | Specialized defines to work with/around Clang integrated assembler. The two ↵ | Jeffrey Walton | 2015-07-22 | 1 | -7/+9 |
| | | | | defines are WORKAROUND_LLVM_BUG_18916 and CRYPTOPP_USING_CLANG_INTEGRATED_ASSEMBLER. Once the 18916 bug is fixed, the other issues around the integrated assembler will remain | ||||
* | Added CRYPTOPP_CLANG_NO_INTEGRATED_AS as a guard in config.h (disabled by ↵ | Jeffrey Walton | 2015-07-21 | 1 | -7/+7 |
| | | | | default since integrated-as is default behavior and the bug is active). GNU_ATT_SYNTAX → GNU_AS_ATT_SYNTAX and GNUINTEL_SYNTAX → GNU_AS_INTEL_SYNTAX | ||||
* | Cut-in to utilize GNU_ATT_SYNTAX and GNU_INTEL_SYNTAX macros. Also see LLVM ↵ | Jeffrey Walton | 2015-07-21 | 1 | -7/+7 |
| | | | | Bug 18916 (https://llvm.org/bugs/show_bug.cgi?id=18916) | ||||
* | Cleared -Wunused-but-set-variable from GCC 4.8 and GCC 5.1. The way to ↵ | Jeffrey Walton | 2015-07-20 | 1 | -9/+3 |
| | | | | handle separators is via locales and facets | ||||
* | Cleared warning under Visual Studio | Jeffrey Walton | 2015-07-17 | 1 | -1/+1 |
| | |||||
* | Added GCC_DIAGNOSTIC_AWARE to help suppress some warnings on contemporary ↵ | Jeffrey Walton | 2015-06-29 | 1 | -0/+5 |
| | | | | compilers. The macro was needed to help with managing old compilers, like GCC 4.2.1, present on OpenBSD | ||||
* | port to Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21 | weidai | 2010-07-05 | 1 | -1/+1 |
| | | | | change makefile to compile for both i386 and x86_64 on Darwin/Mac OS X | ||||
* | switch to non-branching code in AlmostInverse() | weidai | 2010-06-28 | 1 | -35/+23 |
| | |||||
* | fix Integer operator<< output on Windows x64 | weidai | 2009-04-05 | 1 | -1/+3 |
| | |||||
* | fix compile on OpenBSD 4.4 | weidai | 2009-03-13 | 1 | -1/+1 |
| | |||||
* | from Jeffery Walton: move *.dat files into TestData, make Integer operator<< ↵ | weidai | 2009-03-12 | 1 | -5/+9 |
| | | | | respect ios::uppercase flag |