Commit Graph

97 Commits

Author SHA1 Message Date
Jeffrey Walton
bf35d58ad7
Cleanup selft tests 2017-08-05 05:32:43 -04:00
Jeffrey Walton
a2cab93117
Add hash static transform test (Issue 455) 2017-08-04 23:35:38 -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
eb3b27a6a5
Clear Visual Studio warnings (Issue 412) 2017-05-30 16:37:41 -04:00
Jeffrey Walton
537ee61ade
Switch to _MSC_FULL_VER for SP1 releases 2017-05-11 12:05:57 -04:00
Jeffrey Walton
308336c4e1
Switch to COUNTOF in validat3.cpp 2017-05-11 11:18:52 -04:00
Dmitry S. Baikov
a9b06b40e7 fixed type casts in blake2 tests 2017-05-11 07:39:51 +03:00
Dmitry S. Baikov
39abbbb070 NULLPTR fix for blake2 tests 2017-05-11 07:14:37 +03:00
Dmitry S. Baikov
e8e0b1c3f2 blake2: Fixed initialization when using non-keyed constructor with non-standard digest size. Added test vectors.
https://github.com/weidai11/cryptopp/issues/415

Test vectors generated with pyblake2 which uses 'BLAKE2 reference source code package' by Samuel Neves
2017-05-11 06:46:56 +03: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
7c73f25f12
Updated documentation 2016-12-17 10:46:59 -05:00
Jeffrey Walton
9739ba8afe
Add Aumasson and Bernstein's SipHash (Issue 348) 2016-12-17 03:58:36 -05:00
Jeffrey Walton
62e99837e8
Add Poly1305 class (Issue 338) 2016-11-27 15:31:50 -05:00
Jeffrey Walton
32fa9f6a8b
Remove deprecated warning supressions under MSC
pragma warning(disable: 4996)
2016-10-10 17:33:13 -04:00
Jeffrey Walton
36aeb16171 Cleared "warning: unused variable ‘hasPadlockRNG’". Whitespace cleanup 2016-06-16 01:15:07 -04:00
Jeffrey Walton
bf22c4575b Add CRC-32C using CXX and SSE4 (Issue 160) 2016-04-24 13:24:45 -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
63cd55901c Added BLAKE2 self tests 2016-04-18 02:39:10 -04:00
Jeffrey Walton
227e4b5fe2 Cleared Coverity finding STREAM_FORMAT_STATE 2016-01-25 16:44:30 -05:00
Jeffrey Walton
2ff035512f Cleared Coverity finding STREAM_FORMAT_STATE 2016-01-25 16:28:06 -05:00
Jeffrey Walton
a0b078543a Added CRYPTOPP_DATA_DIR patch (Issue 82) 2015-12-25 23:50:28 -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
7b64ca489a Added "trap.h" include for header and source files that assert 2015-07-26 15:51:16 -04:00
Jeffrey Walton
6556d68543 Added test suites for HKDF 2015-07-09 01:38:05 -04:00
Jeffrey Walton
8393eeb409 Static and constness to arrays 2015-07-05 19:23:18 -04:00
Jeffrey Walton
21527f8f73 Cut-over to COUNTOF in source files 2015-07-03 17:16:05 -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
Jeffrey Walton
e58faf4973 Cleared signed/unsigned warning 2015-06-08 04:14:30 -04:00
weidai
87a60d8825 add HMAC/SHA2 test vectors
fix cosmetic issues with test suite
2010-08-08 07:29:51 +00:00
weidai
f6259a01d3 use test vector file for SHA tests 2010-06-29 01:13:31 +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
a786529072 use Weak1 namespace 2007-05-04 15:25:16 +00:00
weidai
4f784a84f8 move MD2, MD4, MD5, PanamaHash, WAKE_CFB into the namespace 'Weak' 2007-04-16 00:36:51 +00:00
weidai
28c392e082 add Salsa20 cipher 2006-12-09 17:18:13 +00:00
weidai
1db8ea5084 port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
weidai
393ae4859a fix documentation, fix PanamaMAC, fix algorithm names 2004-07-22 00:51:57 +00:00
weidai
ea022976c4 add minimum iteration time option 2004-04-08 01:57:33 +00:00
weidai
b659d1a90c workaround for VS .NET 2003 2003-05-16 18:25:11 +00:00
weidai
d52b49c51f fix bug in Grouper
add RIPEMD-???, Whirlpool, Shacal2, Camellia, Two-Track MAC (Kevin Springle)
change ChannelSwitch to allow non-blocking input (denis bider)
change Redirector to allow more options (denis bider)
fix MaurerRandomnessTest
optimize MD2 (Kevin Springle)
2003-04-15 00:38:48 +00:00
weidai
a3b6ece7ab Initial revision 2002-10-04 17:31:41 +00:00