Marcel Raad
7c1d296283
Fix clang warnings in headers ( #655 )
...
* remove superfluous semicolon
* Remove C-style casts from public headers
clang warns about them with -Wold-style-cast. It also warns about
implicitly casting away const with -Wcast-qual. Fix both by removing
unnecessary casts and converting the remaining ones to C++ casts.
2018-05-10 19:59:21 -04:00
Jeffrey Walton
143f5a3079
Handle C++17 std::uncaught_exceptions (GH #590 )
2018-02-21 09:59:52 -05:00
Jeffrey Walton
1df1d25428
Cleanup warnings under MSC
2018-01-21 16:25:49 -05:00
Jeffrey Walton
befd04312d
Remove unneeded Doxygen directive
2018-01-19 14:31:20 -05:00
Jeffrey Walton
61ec50dabe
Change Doxygen comment style from //! to ///
...
Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
2017-11-29 10:54:33 -05:00
Jeffrey Walton
2c9a3039e8
Update documentation
...
This cleanup was performed using Clang and -Wdocumentation -Wno-documentation-deprecated-sync
2017-07-27 19:15:21 -04:00
Jeffrey Walton
7ac77ca9ac
Revert "Revert "Clear Visual Studio warnings (Issue 412)""
...
This reverts commit c3871aec94
.
2017-06-02 05:18:52 -04:00
Jeffrey Walton
c3871aec94
Revert "Clear Visual Studio warnings (Issue 412)"
...
This reverts commit eb3b27a6a5
. The change broke GCC 4.8 and unknown version of Clang on OS X. UB reported the OS X break, and JW found duplicated the break on a ARM CubieTruck with GCC 4.8.
2017-06-02 05:06:56 -04:00
Jeffrey Walton
8988e36a48
Re-add CRYPTOPP_DLL to AssignIntToInteger
...
It looks like it was accidentally blown out at commit eb3b27a6a5
2017-05-30 16:59:29 -04:00
Jeffrey Walton
eb3b27a6a5
Clear Visual Studio warnings (Issue 412)
2017-05-30 16:37:41 -04:00
Jeffrey Walton
23448050c0
Export AssignIntToInteger for FIPS DLL builds (Issue 389)
2017-05-30 05:50:57 -04:00
Jeffrey Walton
0e55f5ac7d
Remove g_pAssignIntToInteger pointer, add CRYPTOPP_NO_ASSIGN_TO_INTEGER (Issue 389)
...
This effectively decouples Integer and Public Key from the rest of the library. The change means a compile time define is used rather than a runtime pointer. It avoids the race with Issue 389.
The Public Key algorithms will fail if you use them. For example, running the self tests with CRYPTOPP_NO_ASSIGN_TO_INTEGER in effect results in "CryptoPP::Exception caught: NameValuePairs: type mismatch for 'EquivalentTo', stored 'i', trying to retrieve 'N8CryptoPP7IntegerE'". The exception is expected, and the same happend when g_pAssignIntToInteger was present.
2017-03-25 16:38:42 -04:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383)
2017-03-01 06:10:06 -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
cecf719fcd
Add German digital signature algorithm (ECGDSA) (Issue 113)
...
Also see ISO/IEC 15946 and http://www.teletrust.de/fileadmin/files/oid/ecgdsa_final.pdf
2016-12-13 16:20:41 -05:00
Jeffrey Walton
ba75834ae9
Removed VC++ 5.0 and 6.0 workarounds (Issue 342)
2016-12-03 05:05:56 -05: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
399a1546de
Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)
...
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
2016-09-16 11:27:15 -04:00
Jeffrey Walton
894874fe75
Whitespace checkin
2016-09-10 04:57:48 -04:00
Jeffrey Walton
f70667b762
Updated documentation
2015-12-17 01:37:01 -05:00
Jeffrey Walton
298988a5b9
Crypto++ 5.6.3 check-in
2015-11-22 19:17:15 -05:00
Jeffrey Walton
6ac1e46a1f
Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup)
2015-11-18 15:32:28 -05:00
Jeffrey Walton
48809d4e85
CRYPTOPP 5.6.3 RC6 checkin
2015-11-05 01:59:46 -05:00
Jeffrey Walton
77206baf56
Whitespace checkin
2015-07-30 13:07:33 -04:00
Jeffrey Walton
f61577af9d
Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files
2015-07-30 03:30:27 -04:00
Jeffrey Walton
f8fc7562f1
Added TODO message on the throw dtors
2015-07-27 01:22:41 -04:00
Jeffrey Walton
8e868bf2e5
Tuned preprocessor tests. Added CRYPTOPP_THROW to AlgorithmParametersBase
2015-07-26 21:57:10 -04:00
Jeffrey Walton
2e37c25acb
Removed VC 6.0 dummy function parameter that was also used as a template parametr. Cleared 8 "unused paramter" warnings
2015-07-25 02:21:03 -04:00
Jeffrey Walton
3a08e02f71
Cleared Issue #5 . Thanks to Jonathan Wakely for the patch
2015-07-16 17:11:01 -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
Jeffrey Walton
5f25c73635
Add CRYPTOPP_UNUSED to help supress unused variable warnings. Applied to AlgorithmParametersTemplate because its use is nearly ubiquitous
2015-06-04 23:24:15 -04:00
weidai
eeb9ff5e0b
fix C++Builder 2009 compile, update Readme and License
2009-03-15 09:44:42 +00:00
weidai
f8f2e7fee1
fix compile on gcc 4.1.2, armv5tel
2009-03-13 11:16:28 +00:00
weidai
a47f06515b
fix VC60 compile, project file line-endings, Apple GCC 4.2 compile
2009-03-03 10:18:44 +00:00
weidai
7d88bbd9ed
fix compile on non-x86
2009-03-02 05:23:21 +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
fa25129ac9
port to Sun Studio 12's 64-bit C++ Compiler 5.9 Patch 124864-09 2008/12/16
2009-02-13 12:18:26 +00:00
weidai
629ff8ae40
ICC workaround
2007-04-16 00:26:05 +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
f78fccb3cc
port to GCC 3.4
2004-06-19 08:28:09 +00:00
weidai
4707cf61eb
reduce warnings on GCC
2003-11-05 01:11:03 +00:00
weidai
5b2008101c
misc changes
2003-07-18 04:35:30 +00:00
weidai
38b49e4543
added support for using encoding parameters and key derivation parameters
2003-07-16 01:53:45 +00:00
weidai
f278895908
create DLL version, fix GetNextIV() bug in CTR and OFB modes
2003-07-04 00:17:37 +00:00
weidai
538de80a91
various changes for 5.1
2003-03-20 01:24:12 +00:00
weidai
deea52fd3b
bug fixes and KAT for X9.17 RNG
2002-10-17 16:32:28 +00:00
weidai
a3b6ece7ab
Initial revision
2002-10-04 17:31:41 +00:00