summaryrefslogtreecommitdiff
path: root/datatest.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Increase use of ptrdiff_t when performing pointer mathJeffrey Walton2018-07-091-2/+8
| | | | | | Increase use of ptrdiff_t when performing pointer math Reduce AlgorithmProvider overrides Fix CPU_ProbeARMv7 on Aarch64
* Use C++ style casts and take addr of elem 0 for non-const pointersJeffrey Walton2018-07-091-26/+43
|
* Add KeyDerivationFunction interface (GH #610, PR #611)Jeffrey Walton2018-03-291-39/+35
|
* Add extraneous calls for code coverageJeffrey Walton2018-03-271-12/+34
|
* Change case of FAILED message in datatest.cppJeffrey Walton2018-02-191-1/+1
| | | | Throughout the library the message "FAILED" (not "failed") is used to signal failures. It makes it easy to grep for them. This change makes the message consistent.
* Remove variable block size in datatest.cpp (GH #535)Jeffrey Walton2018-02-181-4/+1
|
* Re-enable Salsa20 ASM (GH #543)Jeffrey Walton2017-11-291-16/+3
| | | | We are fairly certain this is a false positive due to glibc's __memcmp_sse4_1.
* Revert AltiVec and Power8 commitsJeffrey Walton2017-09-051-53/+23
| | | | | The strategy of "cleanup under-aligned buffers" is not scaling well. Corner cases are still turing up. The library has some corner-case breaks, like old 32-bit Intels. And it still has not solved the AltiVec and Power8 alignment problems. For now we are backing out the changes and investigating other strategies
* Use aligned buffer for datatest.cppJeffrey Walton2017-09-041-23/+53
|
* Revert "Revert "Clear Visual Studio warnings (Issue 412)""Jeffrey Walton2017-06-021-2/+2
| | | | This reverts commit c3871aec948013c1a4d5613050c659520f59e2e4.
* Revert "Clear Visual Studio warnings (Issue 412)"Jeffrey Walton2017-06-021-2/+2
| | | | 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-2/+2
|
* Add support for word32 and word64 parsingJeffrey Walton2017-05-151-9/+25
|
* Switch conversion switch from 'ce' to 'cvt'Jeffrey Walton2017-05-151-4/+5
| | | | There were some collisions in the RSA test vectors
* Fix substring lengthJeffrey Walton2017-05-151-1/+1
|
* Fix PutDecodedDatumInto on OS XJeffrey Walton2017-05-151-1/+1
|
* Re-enable the Tweak on ThreefishJeffrey Walton2017-05-151-8/+24
| | | | We also add a helper to PutDecodedDatumInto which reverses the little-endian values from the Threefish test vectors. Test vectors will follow at next check-in.
* Add Threefish block cipher (Issue 422)Jeffrey Walton2017-05-141-2/+2
|
* Don't latch BlockSize or BlockPaddingScheme across testsJeffrey Walton2017-05-141-0/+8
|
* Rearrange characters in whitespace stringJeffrey Walton2017-05-141-8/+7
| | | | The arrangement saves about 1.3 seconds when running the test vectors. It looks like the tab character is dominant, so we profit by listing it first.
* Explicitly add space on line continuationJeffrey Walton2017-05-141-24/+14
| | | | Formatting of data for a failed self test was still off a bit. It was due to retaining a whitespace character from the test vector file. The problem was, the whitespace was a tab on occasion.
* Fix GetField for stray CR or LFJeffrey Walton2017-05-121-14/+46
| | | | The test vector rsa_pkcs1_1_5.txt is the torture test. We calculated an incorrect index when a line continuation was part of a comment
* Remove VC++ 6.0 workaround in datatest.cppJeffrey Walton2017-05-121-4/+4
|
* Add comment concerning empty valueJeffrey Walton2017-05-121-1/+2
|
* Add early continuation for parsing a continued lineJeffrey Walton2017-05-121-3/+9
|
* Fix parser break on OS XJeffrey Walton2017-05-121-51/+20
| | | | | This was introduced at Commit e456cd2275bba020, and affected Uri during his rounds of testing. We also took the opportunity to write it in modern C++ (and remove the VC++ 6.0 bug workaround)
* Switch to _MSC_FULL_VER for SP1 releasesJeffrey Walton2017-05-111-1/+1
|
* Modify datatest parse to eat whitespace when line continuation is in effectJeffrey Walton2017-05-101-1/+12
| | | | | | | | | | | Previously the parsed string would look as follows. You would get this on a failed self test. Key: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 The new behavior eats the leading whitespace, so the key is reported as: Key: 0000000000000000000000000000000000000000000000000000000000000000
* Make datatest.cpp aware of padding schemesJeffrey Walton2017-05-101-4/+13
| | | | This change was needed for Kalyna and its CBC test vectors. One test uses OneAndZeros padding
* Remove EncryptBlockCipherJeffrey Walton2017-05-101-4/+3
| | | | The test mode EncryptBlockCipher is not needed. datatest.cpp is versatile enough to handle variable block sizes under test mode Encrypt
* Add Kalyna block cipher (Issue 411)Jeffrey Walton2017-05-061-1/+1
| | | | Thanks to Roman Oliynykov and Oleksandr Kazymyrov for their assistance. Thanks to Keru Kuro for the reference implementation.
* Add variable block size support to test and benchmarksJeffrey Walton2017-05-041-11/+15
| | | | CRYPTOPP_COVERAGE was added at 9614307ab7f4a4a4 to increase code coverage support. This commit enables additional validation routines when CRYPTOPP_COVERAGE is in effect.
* Add C++ nullptr support (Issue 383)Jeffrey Walton2017-03-011-5/+5
|
* Add Test namespace within CryptoPP namespace (Issue 379)Jeffrey Walton2017-02-211-36/+39
|
* Remove old VerifierFilter, switch to SignatureVerificationFilterJeffrey Walton2017-02-071-2/+2
| | | | | VerifierFilter was a typedef for SignatureVerificationFilter. The name changed at Crypto++ 5.0 Updated documentation
* 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 Deterministic DSA and ECDSA Signatures (Issue 121)Jeffrey Walton2016-12-111-1/+3
| | | | Based on Douglas Roark PR 131
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-8/+8
| | | | 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
* Whitespace cleanupJeffrey Walton2016-07-241-5/+5
|
* Cut-in determinsitic signature verification during signingJeffrey Walton2016-04-101-11/+29
|
* Prepare for RFC6979, Deterministic Usage of the Digital Signature Algorithm ↵Jeffrey Walton2016-04-091-2/+7
| | | | (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA)
* Add SignalUnknownAlgorithmErrorJeffrey Walton2016-04-091-1/+7
|
* Constify caught exceptionsJeffrey Walton2016-04-091-3/+3
|
* Flus cout buffer in case next test hangs, like BlumBlumShub on some ↵Jeffrey Walton2016-01-071-1/+1
| | | | platform/compiler combinations
* Added CRYPTOPP_DATA_DIR patch (Issue 82)Jeffrey Walton2015-12-251-2/+9
|
* Crypto++ 5.6.3 check-inCRYPTOPP_5_6_3Jeffrey Walton2015-11-221-2/+2
|
* Revert botched "Crypto++ 5.6.3 check-in". Corruption due to VMware adding ↵Jeffrey Walton2015-11-221-2/+2
| | | | | | garbage to the end of some source files during drag and drop from guest to host. This reverts commit c45435812225aa68d122c7de246e5f60b509766c.
* Crypto++ 5.6.3 check-inJeffrey Walton2015-11-201-2/+2
|
* Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 ↵Jeffrey Walton2015-11-181-1/+11
| | | | (Coverity rollup)
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-762/+803
|