Jeffrey Walton
3e3b8af96d
Add check for 128-bit pointers
...
Thanks to Andy Polyakov
2023-11-06 14:58:17 -05:00
Jeffrey Walton
c0e15c066e
Add check for 128-bit pointers
...
Thanks to Andy Polyakov
2023-11-06 10:13:03 -05: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
f5f63850f9
Use std namespace for memset, memcpy, memcmp ( #1204 )
2023-04-15 16:45:02 -04:00
Jeffrey Walton
11eee26d76
Add LSH-256 and LSH-512 hash functions (GH #1025 , PR #1026 )
...
Add South Korea's LSH-256 and LSH-512 families of hash functions.
2021-04-16 03:23:15 -04:00
Jeffrey Walton
ab9461ec5e
Add additional ASN.1 self tests
2021-03-21 04:06:38 -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
8ea8bcfb94
Update validat3.cpp feature output
2021-03-06 03:20:05 -05:00
Jeffrey Walton
89dd418da3
Update word size message
2020-12-24 18:05:07 -05:00
Jeffrey Walton
ef682f185e
Remove 'aligned access' message from test suite
...
We got rid of unaligned access a long time ago
2020-12-24 17:59:20 -05:00
Jeffrey Walton
6662db63e3
Add DARN info in TestSettings()
2020-12-22 12:38:17 -05:00
Jeffrey Walton
dbc123a4d1
Fix Aarch64 test output
2020-04-12 12:20:20 -04:00
Jeffrey Walton
b91ce07bfb
Revert BlowfishCompat changes (PR #877 )
2019-10-12 09:40:34 -04:00
Jeffrey Walton
76c29eadaf
Add XTS block cipher mode of operation (GH #891 , PR #892 )
2019-10-12 07:14:38 -04:00
Jeffrey Walton
80dc9f7d77
Clear deprecated warnings with early MSVC compilers
2019-10-03 07:14:43 -04:00
Răzvan Cojocaru
9912d0630e
Add support for Mcrypt's blowfish-compat (PR #877 )
2019-09-29 20:18:56 -04:00
Jeffrey Walton
2ba9d3d00f
Restore former Test_RandomNumberGenerator behavior
...
There's no need to special case for HURD. No one uses it
2019-08-12 14:55:05 -04:00
Jeffrey Walton
7606c35fda
Update comments
2019-08-12 06:32:21 -04:00
Jeffrey Walton
ea08de08d6
Add missing pumpAll to Test_RandomNumberGenerator
2019-08-12 06:27:10 -04:00
Jeffrey Walton
6028587b9f
Tighten Test_RandomNumberGenerator test
...
Debian HURD was slipping between the cracks. HURD appeared to be a minor failure because entropy on the heap improved the test result. After we zero'd the block, it was a catastrophic failure.
2019-08-12 05:34:11 -04:00
Jeffrey Walton
cd0d145635
Add legacy ECIES EC2N cryptosystem and kat (GH #856 )
2019-07-03 03:06:58 -04:00
Jeffrey Walton
ce6d3c1306
Add legacy ECIES ECP cryptosystem and kat (GH #856 )
2019-07-03 01:41:23 -04:00
Jeffrey Walton
00f9c1f0eb
Enable extended output in SHAKE-128 and SHAKE-256 (GH #805 , PR #806 )
2019-02-13 11:31:18 -05: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
a749296504
Add additional self tests
...
And whitespace check-in
2018-12-25 10:08:49 -05:00
Jeffrey Walton
d62674b561
Add ed25519 (GH #764 , PR #767 )
...
Add ed25519
2018-12-24 17:17:32 -05:00
Jeffrey Walton
17d7a70501
Backout change to validate3.cpp
...
It was modified for local testing, and cross-pollinated into the last commit.
2018-12-14 12:25:15 -05:00
Jeffrey Walton
4f64bb8eb3
Clear warning C4163: '_umul128' : not available as an intrinsic function
2018-12-14 12:23:18 -05:00
Jeffrey Walton
77923a291a
Add Langley's curve25519 (GH #761 , PR# 762)
2018-12-11 16:17:56 -05:00
Jeffrey Walton
0aa217b91c
Update comments in config.h
...
Some comments in config.h were old. Time for a refresh.
Switch from CRYPTOPP_BOOL_ARM64 to CRYPTOPP_BOOL_ARMV8. Aarch32 is ARMv8, and that's the important part.
2018-12-09 10:24:55 -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
3db34abf2f
Add Power9 Random Number Generator support (GH #747 , PR #748 )
2018-11-27 02:54:26 -05:00
Jeffrey Walton
af9fb9d21e
Add ChaCha to self tests (GH #732 )
2018-11-08 22:08:59 -05:00
Jeffrey Walton
e6112e35df
Clear C4456 under MSVC
2018-11-08 21:31:25 -05:00
Jeffrey Walton
c601213ce1
Sync CRYPTOPP_{BIG|LITTLE}_ENDIAN with Autotools
...
Autotools sets up its config.h file with the '#define XXX 0' or '#define XXX 1' pattern. This check-in makes the sources Autotools aware. We need to verify CMake does the same
2018-10-28 04:24:22 -04:00
Jeffrey Walton
8790467fac
Fix constants buffers in TestPadlockRNG
2018-10-21 12:23:31 -04:00
Jeffrey Walton
e0d37b22f8
Remove unused variable from TestPadlockRNG
2018-10-21 11:48:41 -04:00
Jeffrey Walton
1d0c659fd7
Fix compile error when NO_OS_DEPENDENCE
2018-10-20 07:36:11 -04:00
Jeffrey Walton
9be27c86c6
Fix TestMersenne validation
2018-10-19 07:17:05 -04:00
Jeffrey Walton
26fcdb55cd
Add additional RNG tests
2018-10-19 04:57:10 -04:00
Jeffrey Walton
ce4af5b85f
Add Test_RandomNumberGenerator function
...
Copy and paste gone wrong... This cleaned up a lot of tests by folding the code into one function.
2018-10-18 08:59:00 -04:00
Jeffrey Walton
ca08d63a10
Add SIMON and SPECK to validation suite
2018-10-14 10:45:46 -04:00
Jeffrey Walton
9a8b4a8024
Make TestStringSink a debug test
2018-09-08 21:52:14 -04:00
orangefour
9b81a545fc
Add VectorSink
2018-09-05 09:25:09 +02:00
Jeffrey Walton
c0b1116082
Fix compile on Visual Studio 2005 without service packs
2018-08-20 15:22:48 -04:00
Jeffrey Walton
874f79c320
Fix compile on Visual Studio 2005 without serve packs
2018-08-20 05:35:34 -04:00
Jeffrey Walton
99ab11d1ed
Add TestAltivecOps for Debug builds
2018-08-09 17:23:35 -04:00
Jeffrey Walton
9ff731824b
Prepare for POWER8 carryless multiplies using vpmsum
2018-08-06 05:40:38 -04:00
Jeffrey Walton
f290746a36
Remove Coverity worakaround StreamState
...
Use std::ostringstream instead. Eventually I'd like to see the output stream passed into the function of interest. It will avoid problems on some mobile OSes that don't have standard inputs and outputs.
2018-07-29 22:35:36 -04:00