Commit Graph

2159 Commits (e1c9fdd3eef18a8fc8a30e5321f9235c1ffdc36c)

Author SHA1 Message Date
Jeffrey Walton e1c9fdd3ee
Cleanup DLLTEST project file 2016-10-04 14:23:10 -04:00
Jeffrey Walton f579c1caf1
Add missing PlatformToolset and RootNamespace for Globals PropertyGroup
Also see http://blogs.msdn.microsoft.com/visualstudio/2010/05/14/a-guide-to-vcxproj-and-props-file-structure/
2016-10-04 02:22:25 -04:00
Jeffrey Walton 85933ca4ad
Removed setting overrides for Optimization and FavorSizeOrSpeed nodes
These were only present in the VS2010 project files. They were not presnt in Crypto++ 5.6.2 VS 2005. I'm guessing its experimental cruft that should not have nbeen added or checked-in
2016-10-03 19:21:21 -04:00
Jeffrey Walton 969536ac2b
Add NDEBUG for release builds
The remediations for CVE-2016-7420 removed the library's reliance on NDEBUG. The library now uses CRYPTOPP_ASSERT() instead of assert(), and it requires positive confirmation with CRYPTOPP_DEBUG, DEBUG or _DEBUG.
Some other projects may inadvertenly depend on our definition of NDEBUG. This restores the definition in case its needed by others
2016-10-03 18:27:52 -04:00
Jeffrey Walton 3904be4676 Revert "Add NDEBUG for Release builds. Set /arch:SSE2 as minimum arch"
This reverts commit 640f0272a0.
2016-10-03 03:17:00 -04:00
Jeffrey Walton 640f0272a0
Add NDEBUG for Release builds. Set /arch:SSE2 as minimum arch
Fold source files configuration settings for CRYPTDLL project
2016-10-03 02:27:32 -04:00
Jeffrey Walton 28b3219d00
Add VS project files to list of trimmed files 2016-10-02 22:25:51 -04:00
Jeffrey Walton 3feb08f0ba
Fix fipstest.cpp compile under Unix (Issue 314) 2016-10-02 22:25:16 -04:00
Jeffrey Walton 07d996628d
Alloc Visual Studio to capitolize UUIDs 2016-10-02 21:03:23 -04:00
Jeffrey Walton 652c154759
Change UUIDs for VS solution and projects 2016-10-02 20:32:47 -04:00
Jeffrey Walton 277b8a3c4e
Clear C4100 "unreferenced formal parameter" warning on pSetNewHandler 2016-10-02 20:11:12 -04:00
Jeffrey Walton 82b13e23ca
Add "Crypto++ DLL" to OutputDebugString messages (Issue 314)
Visual Studio 2010 was opt-in; which Visual Studio 2012 is opt-out
2016-10-02 19:22:49 -04:00
Jeffrey Walton 2413c0e041
Opt-out of ASLR (Issue 314)
Visual Studio 2010 was opt-in; which Visual Studio 2012 is opt-out
2016-10-02 18:53:50 -04:00
Jeffrey Walton 1dd0b07a1e
Improve OutputDebugString messages (Issue 314) 2016-10-02 18:40:28 -04:00
Jeffrey Walton e3c4ccb0fc
Add newline to OutputDebugString (Issue 314) 2016-10-02 18:03:30 -04:00
Jeffrey Walton 578b0e2a07
Add information for expected and load address for FIPS DLL module (Issue 314) 2016-10-02 17:52:08 -04:00
Jeffrey Walton 55bbc55a7e
Report computed MAC (Issue 314) 2016-10-02 16:20:25 -04:00
Jeffrey Walton 3ea28efa69
Use Warning Level 4 (Issue 314) 2016-10-02 15:20:55 -04:00
Jeffrey Walton 5e3d0097fa
Visual Studio 2010 project files cleanup (Issue 314) 2016-10-02 14:39:58 -04:00
Jeffrey Walton fd278c2e8b
Guard on DEBUG_NEW and stub-out for precompiled headers 2016-10-02 03:10:06 -04:00
Jeffrey Walton 8a6d18853d
Guard DEBUG_NEW for Visual Studio and leak detection 2016-10-02 02:52:10 -04:00
Jeffrey Walton bcb7dffd5e
Update Windows test script 2016-10-02 02:12:50 -04:00
Jeffrey Walton e09d8a2491
Fix Cygwin compile due to missing <signal.h> 2016-10-01 22:12:08 -04:00
Jeffrey Walton 856d3d5508
Fixed Perl string expansion 2016-10-01 16:22:59 -04:00
Jeffrey Walton 46a4385db5
Add cryptest-windows.pl script 2016-10-01 14:44:40 -04:00
Jeffrey Walton 625a6dd09a
Clear warnings under Visual Studio 2012 2016-10-01 12:04:57 -04:00
Jeffrey Walton 43313e6c0f
Add missing ossig.h to file list for ZIP file[A 2016-10-01 05:39:26 -04:00
Jeffrey Walton 50736d8c1f
Clear warnings under Visual Studio 2008 2016-10-01 05:24:45 -04:00
Jeffrey Walton d40c7fb56b
Fix compile under Visual Studio 2008 2016-10-01 05:17:02 -04:00
Jeffrey Walton 395b163450
Fix compile under Visual Studio 2003 2016-10-01 04:42:42 -04:00
Jeffrey Walton 9b64112a11
Whitespace cleanup 2016-10-01 02:02:51 -04:00
Jeffrey Walton b7061f5b6e
Clear Coverity "Uninitialized pointer field (UNINIT_CTOR)"
CID 148083
2016-10-01 01:24:19 -04:00
Jeffrey Walton 8d840ecd8e
Clear Coverity "Missing break in switch (MISSING_BREAK)"
CID 147882, 147880, 147879, 147876
2016-10-01 00:51:33 -04:00
Jeffrey Walton fd64929389
Add benchmark tests 2016-09-30 16:58:27 -04:00
Jeffrey Walton e2943d4530
Add coverity-macosx.txt instructions 2016-09-30 15:47:47 -04:00
Jeffrey Walton 19ebf769e7
Add debug instrumentation to Rijndael
We added asserts due to Coverity findings. We beieve the findings were false positives
2016-09-30 13:14:29 -04:00
Jeffrey Walton 2b328e8f8b
Fix AES and X86 compile on Solaris 2016-09-30 09:31:23 -04:00
Jeffrey Walton 2efedfb5ab
Reset config.h that cross-pollinated from AES dev-branch 2016-09-30 01:19:44 -04:00
Jeffrey Walton 3a096ebc9b
Removed benchmark tests that cross-pollinated from AES dev-branch 2016-09-30 01:14:15 -04:00
Jeffrey Walton 4c1b5472cc Cutover to SecByteBlock member for AES (Issue 302, CVE-2016-7544) 2016-09-30 01:09:21 -04:00
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