Commit Graph

59 Commits

Author SHA1 Message Date
Jeffrey Walton
a89a27b72c
Attempt to keep Clang out of other compiler paths (GH #147) 2023-06-25 18:28:11 -04:00
Jeffrey Walton
dced966b7a
Clear unused-value warnings with void cast 2023-06-22 23:24:36 -04:00
Jeffrey Walton
999090a3ca
Fix MSVC compile error with VS2019 2020-09-11 06:03:55 -04:00
Jeffrey Walton
afba9f4a87
Fix MSVC compile error with VS2019 2020-09-11 05:59:46 -04:00
Jeffrey Walton
f47ffe2a4d
Fix IsDebuggerPresent guard for ARM64 (GH #776) 2019-01-04 20:43:19 -05:00
Jeffrey Walton
f9ef238846
Whitespace check-in 2019-01-04 20:39:22 -05:00
Jeffrey Walton
bfc2b5f02d
Fix double leading "0x" prefix (GH #557)
Thanks to John McCabe for reporting
2018-01-05 18:59:28 -05:00
Jeffrey Walton
c40a4dc9f7
Fix Clang warning on missing template definitions 2017-08-16 12:21:07 -04:00
Marcel Raad
d9de314e86 Fix Windows compilation issues (by RaptorFactor) (#444)
* Fix compilation on Windows with /DUNICODE

* Fix linking of fipstest for MSVC targeting ARM (__crt_debugger_hook is not available).

* Fix build for Clang on Windows with optimizations on.

* Fix a warning about a non-existant warning under Clang.

* Fix compilation under Intel C++ 18.0 on Windows
2017-07-17 12:10:38 -04:00
Jeffrey Walton
a090aad8d2
Fix "warning C4702: unreachable code" under Windows Phone 2017-05-18 08:45:07 -04:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
Jeffrey Walton
9d7c5fce55
Remove old VerifierFilter, switch to SignatureVerificationFilter
VerifierFilter was a typedef for SignatureVerificationFilter. The name changed at Crypto++ 5.0
Updated documentation
2017-02-07 18:51:44 -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
86b89cd18b
Removed remaining dummy parameters for VC6.0 workarounds (Issue 342) 2016-12-17 22:44:22 -05:00
Jeffrey Walton
3feb08f0ba
Fix fipstest.cpp compile under Unix (Issue 314) 2016-10-02 22:25:16 -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
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
06a7abc9c8 Whitespace cleanup 2016-07-24 19:28:01 -04:00
Jeffrey Walton
8576762836 Merge pull request #151 from bretthall/master
Fixed linker error when using VS2015 /MD
2016-06-21 15:59:58 -04:00
Jeffrey Walton
20380f488b Removed extra test for WINAPI_FAMILY 2016-05-17 02:02:35 -04:00
Jeffrey Walton
d294b4290b Add changes for Windows Sotre that went missing with my clumsy Git skills 2016-05-09 03:07:57 -04:00
Brett Hall
109f5a7a32 Fixed linker error when using VS2015 /MD
Without this change links under Visual Studio 2015 using the
/MDd switch ("multithreaded debug dll" c-runtime) fail with a "LNK2005:
__crt_debugger_hook already defined in msvcrtd.lib(utility_desktop.obj)"
error.
2016-03-29 10:08:48 -07:00
Jeffrey Walton
48809d4e85 CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
Jeffrey Walton
aff5105569 Removed "include <assert.h>" from files. Its now handled by "trap.h" 2015-08-03 19:21:57 -04:00
Jeffrey Walton
22c3e41133 Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
Jeffrey Walton
7b64ca489a Added "trap.h" include for header and source files that assert 2015-07-26 15:51:16 -04:00
Jeffrey Walton
ea9081ebc4 Cleared -Wunneeded-internal-declaration from GCC 5.1 2015-07-19 12:30:16 -04:00
Jeffrey Walton
786b3f1660 Cleared warning "GCC diagnostic kind" unknown. It appears to be a Clang warning 2015-07-19 12:16:19 -04:00
Jeffrey Walton
8f59d9af35 Cleared unused variable and function warnings 2015-07-19 10:22:16 -04:00
Jeffrey Walton
21527f8f73 Cut-over to COUNTOF in source files 2015-07-03 17:16:05 -04:00
Jeffrey Walton
a14a5696e1 Added GCC_DIAGNOSTIC_AWARE to help suppress some warnings on contemporary compilers. The macro was needed to help with managing old compilers, like GCC 4.2.1, present on OpenBSD 2015-06-29 02:09:02 -04:00
weidai
05e42a01d9 fix possible error during DLL startup self-test due to calling functions in ADVAPI32.DLL from DllMain() (http://sourceforge.net/apps/trac/cryptopp/ticket/4) 2010-07-29 10:50:42 +00:00
weidai
d8a644fc4e changes for 5.6:
- added AuthenticatedSymmetricCipher interface class and Filter wrappers
    - added CCM, GCM (with SSE2 assembly), CMAC, and SEED
    - improved AES speed on x86 and x64
    - removed WORD64_AVAILABLE; compiler 64-bit int support is now required
2009-03-02 02:39:17 +00:00
weidai
2f8e40cb4b fix compile with fix compile for for STLport 5.1.3 and MSVC 2005 2007-09-15 02:38:57 +00:00
weidai
7a18924f02 change default FIPS RNG to use AES instead of DES_EDE 2007-05-04 15:31:46 +00:00
weidai
43b41c1042 update version number, port to Sun C++ 5.8 2006-12-18 02:34:33 +00:00
weidai
f05ea58bb3 port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
weidai
d5a0764683 cygwin workaround 2006-12-09 17:17:41 +00:00
weidai
b3826418aa fix self-test when installed into unicode paths 2006-09-06 05:10:49 +00:00
weidai
1b6b327200 change DLL integrity self-test to allow DLL to be Authenticode signed 2006-07-30 17:15:01 +00:00
weidai
8d54ba7ff2 upgrade project files to MSVC 2005 and add x64 platform 2006-01-30 14:00:54 +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
94f405b94b fix bug in EncryptionPairwiseConsistencyTest 2004-02-05 03:32:59 +00:00
weidai
6de6ad385c reduce source file dependencies 2003-10-14 09:43:14 +00:00
weidai
8f7315b910 fix in-memory integrity check on Win 9x 2003-07-18 03:22:17 +00:00
weidai
12157494b2 fix GCC compile 2003-07-11 19:16:35 +00:00
weidai
473e5df89b merge in 5.0.4 changes (exclude DES and SHA-2 from DLL),
attempt (failed) to build DLL with GCC
2003-07-10 04:34:23 +00:00