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
462e15c192
Use anonymous namespace in validat8.cpp
2021-03-19 17:14:26 -04:00
Jeffrey Walton
744026b75c
Add additional RSA and Rabin self tests
2021-03-19 16:29:10 -04:00
Jeffrey Walton
dff71eb8ee
Add additional Rabin self tests
2021-03-19 16:13:40 -04:00
Jeffrey Walton
67972b53ba
Update DARN rng tests
2021-03-19 15:21:33 -04:00
Jeffrey Walton
bc1a4d5b5c
Update RDRAND, RDSEED and Packlock rng tests
2021-03-19 15:19:03 -04:00
Jeffrey Walton
793f795ef3
Update cryptest-coverage.sh script
2021-03-19 15:08:33 -04:00
Jeffrey Walton
52b22c2672
Update cryptest-coverage.sh script
2021-03-19 14:06:06 -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
8f7d7ac476
Update cryptest-coverage.sh script
2021-03-19 01:48:16 -04:00
Jeffrey Walton
8cc28aa58f
Add cryptest-coverage.sh test script
2021-03-19 01:15:14 -04:00
Jeffrey Walton
646458ff6f
Add additional RSA self tests
2021-03-19 01:14: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
db35e1d44c
Update HIGHT test vectors
2021-03-18 21:28:09 -04:00
Jeffrey Walton
810e3d869a
Fix xorbuf compile on OpenBSD 6.8 with GCC 4.2.1
2021-03-18 14:42:25 -04:00
Jeffrey Walton
89b20861b2
Use cryptest.dat data file for FileSource tests
2021-03-18 14:03:51 -04:00
Jeffrey Walton
949b7632f1
Fold count==0 tests in xorbuf
2021-03-18 12:15:53 -04:00
Jeffrey Walton
bb5b48d1dc
Fix xorbuf compile when CRYPTOPP_DISABLE_ASM
2021-03-18 12:05:36 -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
034297eafa
Update makefile message
...
Use CLANG_COMPILER when warning about LLVM's libc++
2021-03-18 02:13:37 -04:00
Jeffrey Walton
1b7abaadcc
Add additional HIGHT test vectors (GH #672 , GH #1010 )
2021-03-18 00:49:39 -04:00
Jeffrey Walton
b127d4aaba
Remove NEON code paths from xorbuf
...
NEON on 32-bit ARM machines is experiencing a slight slowdown on modern compilers.
2021-03-17 23:28:58 -04:00
Jeffrey Walton
29b7ea850e
Update tempOutString buffer length calculation
2021-03-17 23:19:46 -04:00
Jeffrey Walton
9a7f4f05cd
Cleanup xorbuf and VerifyBufsEqual (GH #1020 )
2021-03-17 23:01:05 -04:00
Jeffrey Walton
0b04d606e8
Update datatest.cpp
2021-03-17 21:29:34 -04:00
Jeffrey Walton
a742a06945
Update error messages
2021-03-17 17:58:56 -04:00
Jeffrey Walton
e0b1ab6629
Update comments
2021-03-17 17:57:24 -04:00
Jeffrey Walton
d4975aa608
Cleanup xorbuf and VerifyBufsEqual (GH #1020 )
2021-03-17 17:38:54 -04:00
Jeffrey Walton
17a1e8ade4
Add additional HIGHT test vectors (GH #672 , GH #1010 )
2021-03-17 15:55:43 -04:00
Jeffrey Walton
ffc1d4d9f7
Update comments
2021-03-17 13:20:56 -04:00
Jeffrey Walton
585397d172
Update comments
2021-03-17 13:12:26 -04:00
Jeffrey Walton
c33a73a5eb
Update comments
2021-03-17 13:09:24 -04:00
Jeffrey Walton
719df2f6c6
Update include for <arm_neon.h>
2021-03-17 13:07:29 -04:00
Jeffrey Walton
faa8210c60
Fix compile on ARM with GCC 4.8 (GH #1020 )
2021-03-17 13:03:50 -04:00
Jeffrey Walton
bbc45ddfd7
Fix CTR mode when using FileSource (GH #683 , GH #1010 )
...
We think this is another instance problem that surfaced under GH #683 when inString==outString. It violates aliasing rules and the compiler begins removing code.
The ultimate workaround was to add a member variable m_tempOutString as scratch space when inString==outString. We did not loose much in the way of perforamce for some reason. It looks like AES/CTR lost about 0.03-0.05 cpb.
When combined with the updated xorbuf from GH #1020 , the net result was a speedup of 0.1-0.6 cpb. In fact, some ciphers like RC6, gained almost 5 cpb.
2021-03-17 12:25:40 -04:00
Jeffrey Walton
71a812ed9e
Fix CTR mode when using FileSource (GH #683 , GH #1010 )
...
We think this is another instance problem that surfaced under GH #683 when inString==outString. It violates aliasing rules and the compiler begins removing code.
The ultimate workaround was to add a member variable m_tempOutString as scratch space when inString==outString. We did not loose much in the way of perforamce for some reason. It looks like AES/CTR lost about 0.03-0.05 cpb.
When combined with the updated xorbuf from GH #1020 , the net result was a speedup of 0.1-0.6 cpb. In fact, some ciphers like RC6, gained almost 5 cpb.
2021-03-17 12:17:27 -04:00
Jeffrey Walton
4eac79fad8
Cleanup xorbuf and VerifyBufsEqual (GH #1020 )
2021-03-17 02:35:12 -04:00
Jeffrey Walton
ca123d14c1
Avoid memcpy in AdditiveCipherTemplate<S>::ProcessData (GH #683 , GH #1010 , PR #1019 )
...
We found we can avoid the memcpy in the previous workaround by using a volatile pointer. The pointer appears to tame the optimizer so the compiler does not short-circuit some calls when outString == inString.
2021-03-16 22:01:24 -04:00
Jeffrey Walton
4d15863b71
Update documentation
2021-03-16 20:32:16 -04:00