Commit Graph

2269 Commits (2a8670c0c18a8b7d049967a45e2a4cbbfd84d085)

Author SHA1 Message Date
Jeffrey Walton 5a0a2187f2
Remove unneeded m_eofReceived initialization (Issue 312) 2016-09-29 23:03:39 -04:00
Jeffrey Walton 11fc3df369
Coverity finding CID 148134: Uninitialized scalar field (UNINIT_CTOR) (Issue 312) 2016-09-29 22:34:33 -04:00
Jeffrey Walton cb4ba3f7b9
Coverity finding CID 148138: Uninitialized scalar field (UNINIT_CTOR) (Issue 312) 2016-09-29 22:17:55 -04:00
Jeffrey Walton 717a3002be
Remove unneeded asserts 2016-09-29 21:57:33 -04:00
Jeffrey Walton 8518d22760
Change to file scope statics for Zero(), One(), Two() (Thanks DB, Issue 310) 2016-09-29 21:10:11 -04:00
Jeffrey Walton 1c30ffc64a
Remove compare on "result >= WAIT_OBJECT_0" (Issue 311) 2016-09-29 15:47:53 -04:00
Jeffrey Walton 639a11c74a
Update coverity-windows.txt to clean old artifacts 2016-09-29 15:29:31 -04:00
Jeffrey Walton 5fc3e8a395
Remove assert on "dwResult >= WAIT_OBJECT_0" (Issue 311) 2016-09-29 15:15:34 -04:00
Jeffrey Walton afe391571b
Make Singleton<Integer> static with function scope (Issue 310)
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 }
2016-09-29 14:31:54 -04:00
Jeffrey Walton f61b9eda2e
Add Coverity modeling file 2016-09-29 13:09:10 -04:00
Jeffrey Walton 6a13f4f308 Add coverity-windows.txt script and instructions 2016-09-29 05:57:10 -04:00
Jeffrey Walton 794e071b1a
Add coverity-linux.txt with copy/paste recipe for scanning under Linux 2016-09-28 22:20:36 -04:00
Jeffrey Walton 6af5b8424f
Removed likely and unlikely macros
Benchmarking showed the use of the macros slowed things down. Profile guided bracnh reordering, committed at dc99266599a0e72d, provided a better benefit
2016-09-28 18:18:55 -04:00
Jeffrey Walton 6560635405
Merge Cmake changes for -DNDEBUG and -g from Florian (Issue 276, 277, CVE-2016-7420) 2016-09-27 21:03:07 -04:00
Jeffrey Walton 42481b231a Merge CMake chenges to address -DNDEBUG and -g from Florian (Issue 276, 277, CVE-2016-7420) 2016-09-27 20:59:22 -04:00
Jeffrey Walton 6bf0d32279
Used CRYPTOPP_UNLIKELY on gf2n.cpp hotspot 2016-09-27 20:58:17 -04:00
Jeffrey Walton 7ae1267673 Add CRYPTOPP_LIKELY and CRYPTOPP_UNLIKELY macros 2016-09-27 20:47:31 -04:00
Jeffrey Walton 8d227675a9
Coverity finding CID 147829 Bad bit shift operation (BAD_SHIFT)
I'm fairly certian this is a false positive. Checking GF2NT::MultiplicativeInverse under code coverage shows its exercised 555,735 times. We will clear it anayway to squash the finding
For those not aware, on Linux and Unix, you can issue 'make coverage' and get code coverage statistics
2016-09-27 20:20:54 -04:00
Jeffrey Walton c3e45b2e51
Updated 2016-09-27 19:34:46 -04:00
Florian 7153713da7 Merge remote-tracking branch 'upstream/master' into cmake 2016-09-27 21:46:43 +02:00
Florian 0849c77ab2 Merge branch 'cmake' of https://github.com/FloriansGit/cryptopp into cmake 2016-09-27 21:45:41 +02:00
Florian 398e49d5ed Fixes #276 2016-09-27 21:44:04 +02:00
Florian c8a5a2edd3 Fix Cmake (Issue 273) 2016-09-27 21:06:01 +02:00
Jeffrey Walton 424a2bdf00
Add master-merge script
I think this script needs to be visible to the world so they can see how we handle the process
2016-09-27 11:59:44 -04:00
Jeffrey Walton d03938b7ee Merge pull request #308 from FloriansGit/cmake
Fix Cmake (Issue 273)
2016-09-26 21:12:25 -04:00
Jeffrey Walton 69cae949c1
Exclude test files
The test files and validation suite structures are bleeding into the documentation
2016-09-26 16:49:35 -04:00
Florian Maushart a181ec71cd Fix Cmake (Issue 273) 2016-09-26 21:21:27 +02:00
Jeffrey Walton 62ca476e9e Updated documentation 2016-09-26 11:37:21 -04:00
Jeffrey Walton 62de6c8e3b Updated documentation 2016-09-26 04:49:24 -04:00
Jeffrey Walton b885d6c9ad Add cryptest.sh to root directory
The move into TestScriipts is inconvenient. Others have already asked about it
2016-09-26 04:12:30 -04:00
Jeffrey Walton 50f1f5fc8b Updated documentation 2016-09-26 04:08:26 -04:00
Jeffrey Walton 51884539cb Enable VMAC for X86 ASM
X64 ASM was not previously disabled. X32 must be disabled until the port is complete
2016-09-26 00:17:36 -04:00
Jeffrey Walton 6b49827ee5 Merge branch 'Keccak-Typedef' from JPM 2016-09-24 19:48:29 -04:00
Jeffrey Walton 8687e6dabd Merge branch 'Keccak-Typedef' branch from JPM 2016-09-24 19:46:14 -04:00
Jeffrey Walton bfd23861f4 Whitespace cleanup 2016-09-24 18:59:55 -04:00
Jeffrey Walton 31e776d4e7 Fix AES and incorrect argument to _freea() under Microsoft compilers (PR 306, Issue 302) 2016-09-24 18:38:41 -04:00
Jeffrey Walton 3e94b27493 Merge branch 'master' of https://github.com/johnwbyrd/cryptopp into johnwbyrd-master 2016-09-24 18:35:44 -04:00
Jeffrey Walton c892295487 Remove uneeded -Wno-delete-non-virtual-dtor from GNUmakefile
-Wno-delete-non-virtual-dtor is no longer needed since we have virtual destructors in place and they are active in config.h
2016-09-24 00:05:24 -04:00
Jeffrey Walton b5b8dc86bd Add TestScripts to GNUmakefile 2016-09-23 23:30:44 -04:00
Jeffrey Walton 1b5f1b6cf9 Fixed typo in cryptest.sh 2016-09-23 23:22:11 -04:00
Jeffrey Walton a2b3e8653f Fixed "cryptest.exe: '2.4+1e9' is not a value" (Issue 299) 2016-09-23 21:10:15 -04:00
Jeffrey Walton 0a22957481 Disable X86 ASM for VMAC (Issue 304)
Address Sanitizer reports problems from GCC 4.9 to 5.3 compilers. Valgrind 2.13-SVN does not report a problem. It needs to be investiagted more to determine what's going on
2016-09-23 20:56:01 -04:00
Jeffrey Walton b1196d8319 Add messages for STLport and LLVM runtime and STL library 2016-09-23 16:17:18 -04:00
Jeffrey Walton 95242416d6 Delete cryptest-ios.sh after 'git mv' failed to delete it
Git could not find it in its heart to actually delete the file. What a broken tool.
2016-09-23 14:45:42 -04:00
Jeffrey Walton dca76d760d Delete cryptest.sh after 'git mv' failed to delete it
Git could not find it in its heart to actually delete the file. What a broken too.
2016-09-23 14:44:03 -04:00
Jeffrey Walton 2a22a84cd8 Fix typo in message 2016-09-23 13:38:09 -04:00
Jeffrey Walton 4ff49bfc62 Make GNU runtime and STL defult library. Add warning meesage when using GNU gear 2016-09-23 12:43:48 -04:00
Jeffrey Walton e221eedc7a Make GNU runtime and STL defult library. Add warning meesage when using GNU gear 2016-09-23 12:43:04 -04:00
Jeffrey Walton d32d49c3b0 Add unset argument to clear former envars 2016-09-23 12:25:35 -04:00
Jeffrey Walton 2bafebe798 Organize test scripts (Issue 303) 2016-09-23 12:04:33 -04:00