summaryrefslogtreecommitdiff
path: root/validate.h
Commit message (Collapse)AuthorAgeFilesLines
...
* add self test for custom Encoder and Decoder alphabet (GH #562)Jeffrey Walton2018-01-121-0/+1
|
* Fix error in bits2octets: should use the base point's bit count, instead of ↵Linmao Song2018-01-101-0/+1
| | | | the hash value's. Also add test case for GetRandom, with original data from RFC6979 (#560)
* Add thorough param to ValidateECGDSAJeffrey Walton2017-11-251-1/+1
|
* Add SM3 hash function (GH #541)Jeffrey Walton2017-11-231-0/+1
|
* Remove unneeded Debug testsJeffrey Walton2017-09-011-2/+0
| | | | These tests are effectively performed in MDC, SEAL and OldRandomPool
* Add VIA Padlock RNGJeffrey Walton2017-08-191-0/+1
|
* Add hash static transform test (Issue 455)Jeffrey Walton2017-08-041-0/+2
|
* Remove calls to cout.flush() for AppVeyorJeffrey Walton2017-05-291-1/+2
| | | | | They seemed to produce a hang when running self tests in AppVeyor. Also use IsDebuggerPresent() to determine when we should call DebugBreak(). The OS killed our debug build when fuzzing caused an assert to fail
* Add missing <sstream> headerJeffrey Walton2017-05-201-0/+1
| | | | This failed under C++03 builds. C++11 was OK, so it slipped past the initial smoke tests
* Rework benchmark codeJeffrey Walton2017-05-191-0/+39
| | | | This change moves test selections from test.cpp into bench.cpp. It also allows us finer control over test classes and algorithms
* Build RDRAND for all platofrms (Issue 419, PR 424)Jeffrey Walton2017-05-171-2/+0
| | | | We have not been able to determine a reliable way to detect cpu's and platforms with Cmake. We are side stepping the Cmake problem by building rdrand.cpp all the time. If its not avilable for a cpu or platform, then RDRAND or RDSEED throw an exception.
* Removed MSVC warning suppression for many warnings (Issue 412)Jeffrey Walton2017-05-161-1/+1
| | | | | | | | | | Most of these appear to have been cleared over the last couple of years. C4127 is too prevelant. We are probably going to have to live with it. We may be able to clear C4250 with a using statement. For example 'using ASN1CryptoMaterial::Load'. MSVC resisted clearing C4661 by pushing/poping in iterhash.h and osrng.h. It was like MSVC simply ignored it.
* Fix compile error with NO_OS_DEPENDENCEJeffrey Walton2017-05-101-1/+2
|
* Add additional testsJeffrey Walton2017-05-101-1/+1
|
* Add tests for Information Dispersal and Secret SharingJeffrey Walton2017-05-091-0/+1
|
* Add Makefile recipe for Valgrind buildsJeffrey Walton2017-05-061-1/+1
|
* Fold compressor and default encryptor testsJeffrey Walton2017-05-061-6/+2
|
* Add additional self tests under debug buildsJeffrey Walton2017-05-051-0/+5
|
* Add additional self tests under debug buildsJeffrey Walton2017-05-051-0/+8
|
* Add variable block size support to test and benchmarksJeffrey Walton2017-05-041-1/+1
| | | | CRYPTOPP_COVERAGE was added at 9614307ab7f4a4a4 to increase code coverage support. This commit enables additional validation routines when CRYPTOPP_COVERAGE is in effect.
* Add ARIA block cipherJeffrey Walton2017-04-101-0/+1
| | | | | | This is the reference implementation, test data and test vectors from the ARIA.zip package on the KISA website. The website is located at http://seed.kisa.or.kr/iwt/ko/bbs/EgovReferenceList.do?bbsId=BBSMSTR_000000000002. We have optimized routines that improve Key Setup and Bulk Encryption performance, but they are not being checked-in at the moment. The ARIA team is updating its implementation for contemporary hardware and we would like to use it as a starting point before we wander too far away from the KISA implementation.
* Fix Solaris compile due to StreamStateJeffrey Walton2017-03-241-1/+3
| | | | "validate.h", line 155: Error: Overloading ambiguity between "std::ios::basic_ios(std::streambuf *)" and "std::ios::basic_ios(int)".
* Clear Coverity STREAM_FORMAT_STATE (CID 177736, 177737, 177732)Jeffrey Walton2017-03-181-0/+21
| | | | Yet another attempt to clear the stream state finding.
* Add width field to StreamStateJeffrey Walton2017-03-181-3/+5
|
* Switch to std::ostream::char_type for StreamStateJeffrey Walton2017-03-181-3/+3
|
* Clear Coverity STREAM_FORMAT_STATE (CID 177735)Jeffrey Walton2017-03-181-1/+3
| | | | This was a valid finding in the Test suite. The stream state findings are annoying.
* Add TimeToString function (Issue 386)Jeffrey Walton2017-03-081-9/+35
| | | | This was supposed to be checked-in with ce38a411fc5324a2
* Add Test namespace within CryptoPP namespace (Issue 379)Jeffrey Walton2017-02-211-0/+6
|
* Add NIST SP800-90A HMAC_DRBG generatorJeffrey Walton2017-02-071-1/+4
| | | | | Move bodies out-of-line Whitespace
* Add self tests for RoundUpToMultipleOf (Issue 360)Jeffrey Walton2017-01-101-0/+2
| | | | Thanks to Boldizsár Lipka
* Add NIST SP800-90A Hash_DRBG generatorJeffrey Walton2016-12-301-0/+1
|
* Add test cases for ASN.1 parsing (Issue 346)Jeffrey Walton2016-12-241-2/+7
|
* Add Aumasson and Bernstein's SipHash (Issue 348)Jeffrey Walton2016-12-171-1/+2
|
* Add German digital signature algorithm (ECGDSA) (Issue 113)Jeffrey Walton2016-12-131-0/+1
| | | | Also see ISO/IEC 15946 and http://www.teletrust.de/fileadmin/files/oid/ecgdsa_final.pdf
* Add Integer Bitops tests (Issue 344)Jeffrey Walton2016-12-061-0/+1
|
* Add Poly1305 class (Issue 338)Jeffrey Walton2016-11-271-0/+2
|
* Updated CRYPTOPP_ASSERT based on commentsJeffrey Walton2016-10-171-1/+1
| | | | Also see https://github.com/weidai11/cryptopp/commit/399a1546de71f41598c15edada28e7f0d616f541#commitcomment-19448453
* Change from NDEBUG to CRYPTOPP_DEBUG in source files to ensure all debug ↵Jeffrey Walton2016-09-161-1/+1
| | | | behavior pivots on CRYPTOPP_DEBUG, and not NDEBUG (Issue 277, CVE-2016-7420)
* Merge branch 'master' into hmqvJeffrey Walton2016-08-211-0/+1
|\
| * Add test for Huffman codes (Issue 242)Jeffrey Walton2016-08-211-0/+1
| |
| * Revert "Add HMQV implementation (and merge the old FHMQV into the new codebase)"Mouse2016-07-061-2/+0
| | | | | | | | This reverts commit ec350995893b8388631c023d8884f22c94c212ad.
| * Add HMQV implementation (and merge the old FHMQV into the new codebase)Uri Blumenthal2016-07-011-0/+2
| |
* | Add HMQV and merge untracked FHMQVMouse2016-07-041-0/+2
|/
* Add CRC-32C using CXX and SSE4 (Issue 160)Jeffrey Walton2016-04-241-0/+1
|
* Added BLAKE2 self testsJeffrey Walton2016-04-181-0/+2
|
* Added additional testsJeffrey Walton2016-01-031-0/+1
|
* Finally figured how how to clear than damn Coverity finding on ↵Jeffrey Walton2015-12-291-1/+26
| | | | STREAM_FORMAT_STATE
* Fixed SecBlock append when "this == t", fixed assert, added validation test ↵Jeffrey Walton2015-12-281-0/+1
| | | | (Issue 92)
* Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 ↵Jeffrey Walton2015-11-181-1/+16
| | | | (Coverity rollup)
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-84/+85
|