Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use ConstBytePtr in TestDataNameValuePairs (GH #827) | Jeffrey Walton | 2019-04-29 | 1 | -1/+1 |
| | |||||
* | Prepare for Crypto++ 8.2 release | Jeffrey Walton | 2019-04-28 | 1 | -25/+8 |
| | | | | Fix SHAKE-128 and SHAKE-256 tests | ||||
* | Prepare for Crypto++ 8.2 release | Jeffrey Walton | 2019-04-28 | 1 | -13/+31 |
| | | | | Fix VS2010 compile on WIndows Vista; Add BytePtr inline function | ||||
* | Add ChaChaTLS implementation (GH #265) | Jeffrey Walton | 2019-01-24 | 1 | -1/+1 |
| | | | | We tweaked ChaCha to arrive at the IETF's implementation specified by RFC 7539. We are not sure how to handle block counter wrap. At the moment the caller is responsible for managing it. We were not able to find a reference implementation so we disable SIMD implementations like SSE, AVX, NEON and Power4. We need the wide block tests for corner cases to ensure our implementation is correct. | ||||
* | Add search for test vectors and test data (GH #760) | Jeffrey Walton | 2018-12-07 | 1 | -7/+1 |
| | |||||
* | Make TrimComment call TrimSpace | Jeffrey Walton | 2018-11-11 | 1 | -13/+12 |
| | |||||
* | Add meaningful test failure messages | Jeffrey Walton | 2018-11-05 | 1 | -12/+22 |
| | |||||
* | Improve datatest parser | Jeffrey Walton | 2018-11-05 | 1 | -59/+80 |
| | | | | This switches to line oriented parsing for the test files. Previously we we using streams for names, and lines for values. We can now use whitespace and make the tests a bit more readable by grouping similar tests. AlgorithmType will clear the current accumlated values. | ||||
* | Fix missing errno on PPC64 with GCC 4.8.5 | Jeffrey Walton | 2018-11-04 | 1 | -0/+1 |
| | |||||
* | Add ability to Seek64 in test framework (GH #732) | Jeffrey Walton | 2018-11-04 | 1 | -4/+29 |
| | | | | Also see https://github.com/randombit/botan/pull/1728 | ||||
* | Make datatest.cpp more tolerant of comments | Jeffrey Walton | 2018-10-23 | 1 | -9/+21 |
| | |||||
* | Add assert to RunTestDataFile | Jeffrey Walton | 2018-07-29 | 1 | -0/+5 |
| | |||||
* | Cleanup datatest.cpp | Jeffrey Walton | 2018-07-10 | 1 | -19/+7 |
| | | | | Switch to non-blocking rngs for Linux and Windows | ||||
* | Clear conversion warning | Jeffrey Walton | 2018-07-10 | 1 | -1/+3 |
| | |||||
* | Add RandomizedTransfer overload | Jeffrey Walton | 2018-07-10 | 1 | -5/+19 |
| | |||||
* | Increase use of ptrdiff_t when performing pointer math | Jeffrey Walton | 2018-07-09 | 1 | -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 pointers | Jeffrey Walton | 2018-07-09 | 1 | -26/+43 |
| | |||||
* | Add KeyDerivationFunction interface (GH #610, PR #611) | Jeffrey Walton | 2018-03-29 | 1 | -39/+35 |
| | |||||
* | Add extraneous calls for code coverage | Jeffrey Walton | 2018-03-27 | 1 | -12/+34 |
| | |||||
* | Change case of FAILED message in datatest.cpp | Jeffrey Walton | 2018-02-19 | 1 | -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 Walton | 2018-02-18 | 1 | -4/+1 |
| | |||||
* | Re-enable Salsa20 ASM (GH #543) | Jeffrey Walton | 2017-11-29 | 1 | -16/+3 |
| | | | | We are fairly certain this is a false positive due to glibc's __memcmp_sse4_1. | ||||
* | Revert AltiVec and Power8 commits | Jeffrey Walton | 2017-09-05 | 1 | -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.cpp | Jeffrey Walton | 2017-09-04 | 1 | -23/+53 |
| | |||||
* | Revert "Revert "Clear Visual Studio warnings (Issue 412)"" | Jeffrey Walton | 2017-06-02 | 1 | -2/+2 |
| | | | | This reverts commit c3871aec948013c1a4d5613050c659520f59e2e4. | ||||
* | Revert "Clear Visual Studio warnings (Issue 412)" | Jeffrey Walton | 2017-06-02 | 1 | -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 Walton | 2017-05-30 | 1 | -2/+2 |
| | |||||
* | Add support for word32 and word64 parsing | Jeffrey Walton | 2017-05-15 | 1 | -9/+25 |
| | |||||
* | Switch conversion switch from 'ce' to 'cvt' | Jeffrey Walton | 2017-05-15 | 1 | -4/+5 |
| | | | | There were some collisions in the RSA test vectors | ||||
* | Fix substring length | Jeffrey Walton | 2017-05-15 | 1 | -1/+1 |
| | |||||
* | Fix PutDecodedDatumInto on OS X | Jeffrey Walton | 2017-05-15 | 1 | -1/+1 |
| | |||||
* | Re-enable the Tweak on Threefish | Jeffrey Walton | 2017-05-15 | 1 | -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 Walton | 2017-05-14 | 1 | -2/+2 |
| | |||||
* | Don't latch BlockSize or BlockPaddingScheme across tests | Jeffrey Walton | 2017-05-14 | 1 | -0/+8 |
| | |||||
* | Rearrange characters in whitespace string | Jeffrey Walton | 2017-05-14 | 1 | -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 continuation | Jeffrey Walton | 2017-05-14 | 1 | -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 LF | Jeffrey Walton | 2017-05-12 | 1 | -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.cpp | Jeffrey Walton | 2017-05-12 | 1 | -4/+4 |
| | |||||
* | Add comment concerning empty value | Jeffrey Walton | 2017-05-12 | 1 | -1/+2 |
| | |||||
* | Add early continuation for parsing a continued line | Jeffrey Walton | 2017-05-12 | 1 | -3/+9 |
| | |||||
* | Fix parser break on OS X | Jeffrey Walton | 2017-05-12 | 1 | -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 releases | Jeffrey Walton | 2017-05-11 | 1 | -1/+1 |
| | |||||
* | Modify datatest parse to eat whitespace when line continuation is in effect | Jeffrey Walton | 2017-05-10 | 1 | -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 schemes | Jeffrey Walton | 2017-05-10 | 1 | -4/+13 |
| | | | | This change was needed for Kalyna and its CBC test vectors. One test uses OneAndZeros padding | ||||
* | Remove EncryptBlockCipher | Jeffrey Walton | 2017-05-10 | 1 | -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 Walton | 2017-05-06 | 1 | -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 benchmarks | Jeffrey Walton | 2017-05-04 | 1 | -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 Walton | 2017-03-01 | 1 | -5/+5 |
| | |||||
* | Add Test namespace within CryptoPP namespace (Issue 379) | Jeffrey Walton | 2017-02-21 | 1 | -36/+39 |
| | |||||
* | Remove old VerifierFilter, switch to SignatureVerificationFilter | Jeffrey Walton | 2017-02-07 | 1 | -2/+2 |
| | | | | | VerifierFilter was a typedef for SignatureVerificationFilter. The name changed at Crypto++ 5.0 Updated documentation |