Commit Graph

69 Commits

Author SHA1 Message Date
Jeffrey Walton
63cd55901c Added BLAKE2 self tests 2016-04-18 02:39:10 -04:00
Jeffrey Walton
a11c9e7574 Add SSE4.1 and SSE4.2 feature detection 2016-04-15 16:23:04 -04:00
Jeffrey Walton
73fd1ac80e Fix NO_OS_DEPENDENCE detection, thanks to jcnarlo (Issue 141) 2016-03-04 11:34:17 -05:00
Jeffrey Walton
2a648d1052 Fixed RDSEED self test failure under i686 2016-01-31 22:19:06 -05:00
Jeffrey Walton
227e4b5fe2 Cleared Coverity finding STREAM_FORMAT_STATE 2016-01-25 16:44:30 -05:00
Jeffrey Walton
6cdb141c5a Cleared -Wcast-align (Issue 122) 2016-01-25 11:37:22 -05:00
Jeffrey Walton
0c1f7d30ea Added additional tests 2016-01-03 12:53:46 -05:00
Jeffrey Walton
81482d8348 Added test case for growing FixedSizeSecBlock. Fixed copy count during grow 2015-12-31 07:21:23 -05:00
Jeffrey Walton
5849767735 Added test for a zeroized SecBlock 2015-12-31 05:08:19 -05:00
Jeffrey Walton
4f57c8f303 Updated documentation. Added calls to unused functions for coverage analytcs. Squashed unused variable warning 2015-12-31 04:42:21 -05:00
Jeffrey Walton
51d674c7d8 Finally figured how how to clear than damn Coverity finding on STREAM_FORMAT_STATE 2015-12-29 07:16:44 -05:00
Jeffrey Walton
13748582e5 Added "make coverage" recipe. Added additional SecBlock tests 2015-12-28 07:06:50 -05:00
Jeffrey Walton
605744d826 Fixed SecBlock append when "this == t", fixed assert, added validation test (Issue 92) 2015-12-28 00:11:52 -05:00
Jeffrey Walton
a0b078543a Added CRYPTOPP_DATA_DIR patch (Issue 82) 2015-12-25 23:50:28 -05:00
Jeffrey Walton
0059f486ad Changed RDSEED to use alternate ctor. Added comments about number of retries for RDRAND and RDSEED 2015-12-02 18:23:10 -05:00
Jeffrey Walton
298988a5b9 Crypto++ 5.6.3 check-in 2015-11-22 19:17:15 -05:00
Jeffrey Walton
62618fda97 Revert botched "Crypto++ 5.6.3 check-in". Corruption due to VMware adding garbage to the end of some source files during drag and drop from guest to host.
This reverts commit c454358122.
2015-11-22 19:11:31 -05:00
Jeffrey Walton
c454358122 Crypto++ 5.6.3 check-in 2015-11-20 19:15:33 -05:00
Jeffrey Walton
5f70a7c85e Added missing <rng.h> to validat1.cpp. MaurerRandomnessTest requires the header when -DNO_OS_DEPENDENCE 2015-11-19 17:28:37 -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
3203d7db54 Change __MINGW__ → __MINGW32__ 2015-11-18 15:52:54 -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
978b7149f2 Removed USING_NAMESPACE(std). Switch cout and friends to use std::cout 2015-07-29 23:12:44 -04:00
Jeffrey Walton
ef318d5423 Fixed compiler errors on Apple due to cross product of {C++03,C++11} x {libc++, libstdc++}. It included bringing in the correct <memory> in <stdcpp.h>, and then only including <stdcpp.h> when <memory> was needed. 2015-07-27 16:01:55 -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
417994ca6a Cleared signed/unsigned warnings under Visual Studio. 2015-07-20 01:15:35 -04:00
Jeffrey Walton
11eb9957d4 HasISSE -> HasSSE. That's how old this function is... 2015-07-19 13:33:41 -04:00
Jeffrey Walton
8f59d9af35 Cleared unused variable and function warnings 2015-07-19 10:22:16 -04:00
Jeffrey Walton
b54e637896 Whitespace checkin 2015-07-19 07:21:42 -04:00
Jeffrey Walton
1026b51922 Changed TestOS_RNG to use a MeterFilter rather than an ArraySink with a NULL array. The NULL array meant ArraySink::Put2 returned early, and it did *not* update m_total. Even if Put2 did not exit early, it still could not update m_total because the bytes were *not* processed. This change was required in preparation for clearing UBsan errors in filters.cpp 2015-07-19 07:15:06 -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
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
3e2b437172 Added missing include. Caused compile failure on Android or iOS 2015-06-08 07:36:57 -04:00
Jeffrey Walton
e58faf4973 Cleared signed/unsigned warning 2015-06-08 04:14:30 -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
0403d122e1 fix compile on Sun CC
fix compile for non-x86 CPUs
2010-07-28 23:45:28 +00:00
weidai
7adbf89681 add support for AES-NI and CLMUL instruction sets in AES and GMAC/GCM 2010-07-24 05:55:22 +00:00
weidai
46832de97a add AESNI and CLMUL detection 2010-07-07 22:46:18 +00:00
weidai
1315a7bc9a port to Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
change makefile to compile for both i386 and x86_64 on Darwin/Mac OS X
2010-07-05 01:15:14 +00:00
weidai
f6259a01d3 use test vector file for SHA tests 2010-06-29 01:13:31 +00:00
weidai
2779fc6050 - add EAX mode, XSalsa20
- speed up GCM key setup
- wipe stack in AES assembly code
- speed up CFB mode
2009-03-12 11:24:12 +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
8565900724 tweaks/fixes for 5.6 2009-03-03 03:28:39 +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
7a6d06eee0 fix gcc compile errors and warnings 2007-08-14 00:55:43 +00:00
weidai
ae88c18bf7 fixed Whirlpool crash on Pentium 2 machines 2007-08-13 23:53:09 +00:00