Jeffrey Walton
02df6ea847
Add additional self tests under debug builds
2017-05-05 23:16:28 -04:00
Jeffrey Walton
5c1de7b5a5
Add variable block size support to test and benchmarks
...
CRYPTOPP_COVERAGE was added at 9614307ab7
to increase code coverage support. This commit enables additional validation routines when CRYPTOPP_COVERAGE is in effect.
2017-05-04 19:11:24 -04:00
Jeffrey Walton
2297dd000a
Removed "typedef SHA1 SHA" (Issue 369)
...
This should have happened when we removed most of MAINTAIN_BACKWARDS_COMPATIBILITY artifacts. Its not practical move SHA1 into Weak:: namespace or "typedef SHA256 SHA" because SHA1 is too intertwined at the moment.
In the interim, maybe we can place SHA1 in both CryptoPP:: and Weak:: namespaces. This will allow us to transition into Weak::SHA1 over time, and signal to users SHA1 should be avoided.
2017-04-24 05:05:14 -04:00
Jeffrey Walton
6c6391bfda
Clear Coverity CHECKED_RETURN (CID 177729)
...
This was by design, but we cleared it because we want a dark and silent cockpit.
2017-03-18 08:52:32 -04:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383)
2017-03-01 06:10:06 -05:00
Jeffrey Walton
73836e58a5
Add Test namespace within CryptoPP namespace (Issue 379)
2017-02-21 02:03:29 -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
54d17c7361
Updated CRYPTOPP_ASSERT based on comments
...
Also see 399a1546de (commitcomment-19448453)
2016-10-17 22:00:31 -04:00
Jeffrey Walton
32fa9f6a8b
Remove deprecated warning supressions under MSC
...
pragma warning(disable: 4996)
2016-10-10 17:33:13 -04:00
Jeffrey Walton
91ca6c117d
Change from NDEBUG to CRYPTOPP_DEBUG in source files to ensure all debug behavior pivots on CRYPTOPP_DEBUG, and not NDEBUG (Issue 277, CVE-2016-7420)
2016-09-16 14:51:48 -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
c901dae038
Merge 'master' into 'hmqv'
2016-09-08 08:21:26 -04:00
Jeffrey Walton
b6e0465e71
Output formatting for TestPolynomialMod2
2016-09-08 04:24:29 -04:00
Jeffrey Walton
a32cfdcd79
Add CRYPTOPP_DATA_DIR to data files
2016-08-22 03:35:00 -04:00
Jeffrey Walton
060ba1a696
Add EC prefix to classes which operate over elliptic curves
2016-07-21 00:21:48 -04:00
Mouse
c6c0bdeebe
Revert "Add HMQV implementation (and merge the old FHMQV into the new codebase)"
...
This reverts commit ec35099589
.
2016-07-06 12:15:47 -04:00
Mouse
5bdabb7a68
Add HMQV and merge untracked FHMQV
2016-07-04 13:05:38 -04:00
Uri Blumenthal
ec35099589
Add HMQV implementation (and merge the old FHMQV into the new codebase)
2016-07-01 14:30:43 -04:00
Jeffrey Walton
36aeb16171
Cleared "warning: unused variable ‘hasPadlockRNG’". Whitespace cleanup
2016-06-16 01:15:07 -04:00
Jeffrey Walton
87d81372a9
Quiet deprecated warning on some library source files. The warning is intended to help users, not the library
2016-04-24 01:51:39 -04:00
Jeffrey Walton
227e4b5fe2
Cleared Coverity finding STREAM_FORMAT_STATE
2016-01-25 16:44:30 -05:00
Jeffrey Walton
26f0eabf0f
Cleared ARM64 warning
2016-01-11 06:31:37 -05:00
Jeffrey Walton
a0b078543a
Added CRYPTOPP_DATA_DIR patch (Issue 82)
2015-12-25 23:50:28 -05:00
Jeffrey Walton
b3e49d8c96
Additional documentation; fixed issues with Clang integrated assembler and different versions numbers for LLVM Clang and Apple Clang; fixed missing header in DSA class
2015-11-19 13:09:33 -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
5a35640912
Added validat0.cpp and moved bit tests into it. Provided tests for SafeConvert. Removed "using namespace std" from test sources (auto_ptr causes a collision becuase std:: provides it in C++03, but CryptoPP:: provides it in C++11
2015-07-30 10:36:49 -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
978b7149f2
Removed USING_NAMESPACE(std). Switch cout and friends to use std::cout
2015-07-29 23:12:44 -04:00
Jeffrey Walton
b7de164d62
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
2015-07-26 16:03:14 -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
e6e1ce66f8
Cleared "signed/unsigned" warning under GCC 4.8
2015-07-26 01:40:57 -04:00
Jeffrey Walton
8393eeb409
Static and constness to arrays
2015-07-05 19:23:18 -04:00
Jeffrey Walton
dd22311acd
Fix cross-pollination of other changes to validat2.cpp
2015-06-28 23:12:09 -04:00
Jeffrey Walton
b51c3ea0b5
Modified validation suite to use VerifyBufsEqual rather than memcmp. VerifyBufsEqual is a constant time compare, so it serves to educate users on the function to call to use
2015-06-28 23:06:12 -04:00
weidai
2fb44ea6db
add SHA-3
...
update DSA to FIPS 186-3
update version numbers
2013-01-19 02:20:00 +00:00
weidai
1b88e58600
from Jeffery Walton: move *.dat files into TestData, make Integer operator<< respect ios::uppercase flag
2009-03-12 01:55:02 +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
8edb9adc83
update CheckMOVCondition() according to http://eprint.iacr.org/2007/343
2007-09-24 02:54:22 +00:00
weidai
7a6d06eee0
fix gcc compile errors and warnings
2007-08-14 00:55:43 +00:00
weidai
2345ab6d80
fix bug reported by Jeffrey Walton
2007-08-13 23:52:06 +00:00
weidai
5834ecc870
add IncorporateEntropy and GenerateIntoBufferedTransformation to RNG interface
2007-05-04 15:38:32 +00:00
weidai
4f784a84f8
move MD2, MD4, MD5, PanamaHash, WAKE_CFB into the namespace 'Weak'
2007-04-16 00:36:51 +00:00
weidai
43b41c1042
update version number, port to Sun C++ 5.8
2006-12-18 02:34:33 +00:00
weidai
1db8ea5084
port to MSVC .NET 2005 beta 2
2005-07-12 04:23:32 +00:00
weidai
538de80a91
various changes for 5.1
2003-03-20 01:24:12 +00:00
weidai
a3b6ece7ab
Initial revision
2002-10-04 17:31:41 +00:00