summaryrefslogtreecommitdiff
path: root/validat2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Split validat*.cpp source filesJeffrey Walton2018-07-281-1335/+1238
| | | | Also see https://groups.google.com/forum/#\!topic/cryptopp-users/j_aQj6r-PoI
* Make ASN.1 decoder m_values protectedJeffrey Walton2018-04-031-1/+1
|
* Remove AsymmetricAlgorithm::BERDecode (GH #569)Jeffrey Walton2018-01-211-2/+3
|
* Fix C++03 compileJeffrey Walton2018-01-101-16/+16
| | | | Whitespace check-in
* Fix error in bits2octets: should use the base point's bit count, instead of ↵Linmao Song2018-01-101-0/+20
| | | | the hash value's. Also add test case for GetRandom, with original data from RFC6979 (#560)
* Add thorough param to ValidateECGDSAJeffrey Walton2017-11-251-47/+13
|
* Add PKCS #1 SHA3-based signatures (GH #517)Jeffrey Walton2017-10-041-3/+50
|
* Fix Clang warning on missing template definitionsJeffrey Walton2017-08-161-0/+1
|
* Revert "Revert "Clear Visual Studio warnings (Issue 412)""Jeffrey Walton2017-06-021-0/+4
| | | | This reverts commit c3871aec948013c1a4d5613050c659520f59e2e4.
* Revert "Clear Visual Studio warnings (Issue 412)"Jeffrey Walton2017-06-021-4/+0
| | | | This reverts commit eb3b27a6a543. 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.
* Clear Visual Studio warnings (Issue 412)Jeffrey Walton2017-05-301-0/+4
|
* Switch to _MSC_FULL_VER for SP1 releasesJeffrey Walton2017-05-111-1/+1
|
* Move TestPolynomialMod2 to validat0.cppJeffrey Walton2017-05-111-114/+0
|
* Add additional self tests under debug buildsJeffrey Walton2017-05-051-1/+1
|
* 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.
* Removed "typedef SHA1 SHA" (Issue 369)Jeffrey Walton2017-04-241-22/+22
| | | | | | 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.
* Clear Coverity CHECKED_RETURN (CID 177729)Jeffrey Walton2017-03-181-1/+3
| | | | This was by design, but we cleared it because we want a dark and silent cockpit.
* Add C++ nullptr support (Issue 383)Jeffrey Walton2017-03-011-3/+3
|
* Add Test namespace within CryptoPP namespace (Issue 379)Jeffrey Walton2017-02-211-113/+113
|
* Change file preamble to include "originally written by Wei Dai"Jeffrey Walton2017-01-271-1/+1
| | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
* Add German digital signature algorithm (ECGDSA) (Issue 113)Jeffrey Walton2016-12-131-4/+350
| | | | Also see ISO/IEC 15946 and http://www.teletrust.de/fileadmin/files/oid/ecgdsa_final.pdf
* Updated CRYPTOPP_ASSERT based on commentsJeffrey Walton2016-10-171-1/+1
| | | | Also see https://github.com/weidai11/cryptopp/commit/399a1546de71f41598c15edada28e7f0d616f541#commitcomment-19448453
* Remove deprecated warning supressions under MSCJeffrey Walton2016-10-101-5/+0
| | | | pragma warning(disable: 4996)
* 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)
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-1/+1
| | | | 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
* Merge 'master' into 'hmqv'Jeffrey Walton2016-09-081-3/+3
|\
| * Output formatting for TestPolynomialMod2Jeffrey Walton2016-09-081-3/+3
| |
| * Revert "Add HMQV implementation (and merge the old FHMQV into the new codebase)"Mouse2016-07-061-236/+0
| | | | | | | | This reverts commit ec350995893b8388631c023d8884f22c94c212ad.
| * Add HMQV implementation (and merge the old FHMQV into the new codebase)Uri Blumenthal2016-07-011-0/+236
| |
* | Add CRYPTOPP_DATA_DIR to data filesJeffrey Walton2016-08-221-6/+6
| |
* | Add EC prefix to classes which operate over elliptic curvesJeffrey Walton2016-07-211-233/+233
| |
* | Add HMQV and merge untracked FHMQVMouse2016-07-041-0/+236
|/
* Cleared "warning: unused variable ‘hasPadlockRNG’". Whitespace cleanupJeffrey Walton2016-06-161-20/+20
|
* Quiet deprecated warning on some library source files. The warning is ↵Jeffrey Walton2016-04-241-0/+9
| | | | intended to help users, not the library
* Cleared Coverity finding STREAM_FORMAT_STATEJeffrey Walton2016-01-251-1/+3
|
* Cleared ARM64 warningJeffrey Walton2016-01-111-1/+1
|
* Added CRYPTOPP_DATA_DIR patch (Issue 82)Jeffrey Walton2015-12-251-23/+23
|
* Additional documentation; fixed issues with Clang integrated assembler and ↵Jeffrey Walton2015-11-191-3/+4
| | | | different versions numbers for LLVM Clang and Apple Clang; fixed missing header in DSA class
* Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 ↵Jeffrey Walton2015-11-181-6/+122
| | | | (Coverity rollup)
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-728/+735
|
* Added validat0.cpp and moved bit tests into it. Provided tests for ↵Jeffrey Walton2015-07-301-5/+4
| | | | 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
* Included "integer.h" in source files with Integer dependencies so make would ↵Jeffrey Walton2015-07-301-0/+2
| | | | rebuild stale object files
* Removed USING_NAMESPACE(std). Switch cout and friends to use std::coutJeffrey Walton2015-07-291-76/+76
|
* Cut-in CRYPTOPP_ASSERT in all remaining header and source filesJeffrey Walton2015-07-261-1/+1
|
* Added "trap.h" include for header and source files that assertJeffrey Walton2015-07-261-0/+1
|
* Cleared "signed/unsigned" warning under GCC 4.8Jeffrey Walton2015-07-261-1/+1
|
* Static and constness to arraysJeffrey Walton2015-07-051-9/+10
|
* Fix cross-pollination of other changes to validat2.cppJeffrey Walton2015-06-281-15/+4
|
* Modified validation suite to use VerifyBufsEqual rather than memcmp. ↵Jeffrey Walton2015-06-281-13/+27
| | | | VerifyBufsEqual is a constant time compare, so it serves to educate users on the function to call to use
* add SHA-3weidai2013-01-191-44/+2
| | | | | update DSA to FIPS 186-3 update version numbers