Commit Graph

137 Commits

Author SHA1 Message Date
Jeffrey Walton
47222de4b7
Clear elevated warnings in ARIA and HIGHT
Related to fixes from GH #1235 and GH #1234
2023-09-30 13:52:56 -04:00
Jeffrey Walton
560d48f968
Add self tests for in-place encryption of stream ciphers and streaming modes, like CTR (GH #1231) 2023-09-26 14:36:26 -04:00
Jeffrey Walton
a89a27b72c
Attempt to keep Clang out of other compiler paths (GH #147) 2023-06-25 18:28:11 -04:00
Jeffrey Walton
16a8708c58
Handle '\r\0' from early RFCs in Readline 2023-04-21 10:34:59 -04:00
Jeffrey Walton
a0e21c77ae
Add LSH dynamic dispatch (PR #1032)
This commit adds dynamic dispatch to LSH. The implementation pivots on AVX2 and SSSE3.
2021-04-26 04:50:48 -04:00
Jeffrey Walton
8fe0ba4c74
Update comments 2021-04-16 18:39:04 -04:00
Jeffrey Walton
9a591d6e3b
Fix datatest.cpp output 2021-04-16 18:28:00 -04:00
Jeffrey Walton
e415713f38
Handle line with whitespace gracefully 2021-03-21 17:49:30 -04:00
Jeffrey Walton
36d95db117
Fix datatest.cpp Readline 2021-03-21 17:29:01 -04:00
Jeffrey Walton
9d0cb653ec
Update datatest.cpp to use temp string 2021-03-21 17:14:44 -04:00
Jeffrey Walton
a73d83c881
Update comments 2021-03-20 19:17:45 -04:00
Jeffrey Walton
cbf9597205
Update comments 2021-03-19 23:53:04 -04:00
Jeffrey Walton
c40105a5e7
Update datatest.cpp 2021-03-19 22:52:55 -04:00
Jeffrey Walton
143d711593
Update datatest.cpp 2021-03-19 22:40:28 -04:00
Jeffrey Walton
3537c77e39
Update datatest.cpp 2021-03-19 19:46:14 -04:00
Jeffrey Walton
dc353577d6
Whitespace check-in 2021-03-19 19:27:32 -04:00
Jeffrey Walton
2dd1082c78
Update datatest.cpp 2021-03-19 19:19:58 -04:00
Jeffrey Walton
93c4fc2b8a
Update datatest.cpp 2021-03-19 19:19:02 -04:00
Jeffrey Walton
851d355f5b
Update datatest.cpp 2021-03-19 18:56:21 -04:00
Jeffrey Walton
3b76ccc5a5
Use istream.fail() in Readline() 2021-03-19 18:53:18 -04:00
Jeffrey Walton
d32ff560eb
Use Readline in datatest.cpp 2021-03-19 18:48:06 -04:00
Jeffrey Walton
07d3f954c9
Update datatest.cpp 2021-03-19 18:39:11 -04:00
Jeffrey Walton
182fd5f100
Use Readline in datatest.cpp 2021-03-19 18:30:11 -04:00
Jeffrey Walton
f69ec3c75c
Update datatest.cpp 2021-03-19 17:59:30 -04:00
Jeffrey Walton
5a587fedec
Use anonymous namespace in datatest.cpp 2021-03-19 17:50:37 -04:00
Jeffrey Walton
793f795ef3
Update cryptest-coverage.sh script 2021-03-19 15:08:33 -04:00
Jeffrey Walton
20ae15edde
Add additional code coverage tests 2021-03-19 13:25:53 -04:00
Jeffrey Walton
2642669c10
Update datatest output 2021-03-19 03:35:44 -04:00
Jeffrey Walton
b817d2aa9b
Update comments 2021-03-18 23:31:34 -04:00
Jeffrey Walton
0c88471e7a
Add TestSignatureSchemeWithFileSource (GH #672, GH #1010) 2021-03-18 23:09:50 -04:00
Jeffrey Walton
07951c11e5
Cut-in TestSymmetricCipherWithFileSource (GH #672, GH #1010) 2021-03-18 22:46:58 -04:00
Jeffrey Walton
89b20861b2
Use cryptest.dat data file for FileSource tests 2021-03-18 14:03:51 -04:00
Jeffrey Walton
315bfc6830
Add totalTests as function parameter in datatest.cpp 2021-03-18 05:07:27 -04:00
Jeffrey Walton
9f046c2768
Update datatest.cpp 2021-03-18 04:34:48 -04:00
Jeffrey Walton
0c412ee900
Update datatest.cpp 2021-03-18 04:00:46 -04:00
Jeffrey Walton
dd59d58c19
Add TestSymmetricCipherWithFileSource stub
There are a couple of failures at the moment so it is not enabled
2021-03-18 03:37:34 -04:00
Jeffrey Walton
0b04d606e8
Update datatest.cpp 2021-03-17 21:29:34 -04:00
Jeffrey Walton
446aef2e5e
Update documentation 2020-12-25 02:19:51 -05:00
Jeffrey Walton
a11ac1e879
Use ConstBytePtr in TestDataNameValuePairs (GH #827) 2019-04-29 00:13:32 -04:00
Jeffrey Walton
ec1aa8874c
Prepare for Crypto++ 8.2 release
Fix SHAKE-128 and SHAKE-256 tests
2019-04-28 19:09:45 -04:00
Jeffrey Walton
7ba4657375
Prepare for Crypto++ 8.2 release
Fix VS2010 compile on WIndows Vista; Add BytePtr inline function
2019-04-28 18:10:03 -04:00
Jeffrey Walton
5603661eec
Add ChaChaTLS implementation (GH #265)
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.
2019-01-24 09:36:05 -05:00
Jeffrey Walton
1c88fd6f59
Add search for test vectors and test data (GH #760) 2018-12-07 12:25:52 -05:00
Jeffrey Walton
05f053007b
Make TrimComment call TrimSpace 2018-11-11 12:41:29 -05:00
Jeffrey Walton
5a36cd54bd
Add meaningful test failure messages 2018-11-05 21:26:16 -05:00
Jeffrey Walton
93c7518900
Improve datatest parser
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.
2018-11-05 20:40:39 -05:00
Jeffrey Walton
f5bce1ab8c
Fix missing errno on PPC64 with GCC 4.8.5 2018-11-04 15:36:13 -05:00
Jeffrey Walton
40fa6873f9
Add ability to Seek64 in test framework (GH #732)
Also see https://github.com/randombit/botan/pull/1728
2018-11-04 14:21:54 -05:00
Jeffrey Walton
dc840e49a6
Make datatest.cpp more tolerant of comments 2018-10-23 07:09:22 -04:00
Jeffrey Walton
afd1ff651a
Add assert to RunTestDataFile 2018-07-29 21:11:36 -04:00