Commit Graph

2159 Commits (e1c9fdd3eef18a8fc8a30e5321f9235c1ffdc36c)

Author SHA1 Message Date
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
Jeffrey Walton 193983c620 Added reference to CVE-2016-7544 (Issue 302) 2016-09-23 11:36:52 -04:00
Jeffrey Walton 01dbfc8151 Organize test scripts (Issue 303) 2016-09-23 11:32:48 -04:00
Jeffrey Walton e8b9b7475f Organize test scripts (Issue 303) 2016-09-23 11:32:14 -04:00
Jeffrey Walton 2ac9ea1253 Guard use of '-march=native' in test script 2016-09-23 02:53:20 -04:00
Jeffrey Walton f9ee4e2dab Revert 823bc93357 (Issue 302)
The 823 commit introduced a subtle bug we were not able to detect during testing. However, users experienced it in the field. We are reverting it because we violated the "do no harm" rule. The next steps are (1) completely remediation and (2) proper testing of the unit
2016-09-23 01:58:00 -04:00
Jeffrey Walton 15855226fa Clang 3.9 and missing member definitions for template classes (Issue 300) 2016-09-22 23:57:57 -04:00
Jeffrey Walton e0651b458f Fix Visual Studio 2005 compile (Part of Issue 300) 2016-09-22 23:54:10 -04:00
John Byrd a33b95325f When calculating the AES block cipher, allocate 4K of memory on the stack instead of 256+ bytes. Search within that 4K space to put the 256-byte aligned Locals struct in a place which does not have 4K cache conflicts with the Te temporary buffer. This permits us to call _malloca() or alloca() once per call of this function. This commit also makes sure that the Microsoft-only _freea() occurs at the correct location instead of at a pointer to the middle of the stack, when the memory allocated by _malloca() or alloca() is not 256-byte aligned. 2016-09-22 17:43:57 -07:00
Jeffrey Walton ddac25ead8 Fix GCC attempting to use -stdlib=libc++ 2016-09-22 19:33:06 -04:00
Jeffrey Walton 99a83105bd "EMSA2HashId<SHA>::id" → "EMSA2HashId<SHA1>::id" 2016-09-22 12:23:46 -04:00