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
Jeffrey Walton
bf37ccda6d
Fix initialization of 'pass' variable
...
Copy/paste error from https://github.com/weidai11/cryptopp/commit/d51f701e0638
2018-07-29 21:25:48 -04:00
Jeffrey Walton
32d2ad1ca5
Fix "error: ‘MaurerRandomnessTest’ was not declared in this scope"
2018-07-28 18:52:22 -04:00
Jeffrey Walton
86a212b85f
Add missing header to validat3.cpp
2018-07-28 16:39:21 -04:00
Jeffrey Walton
28fe1a6a4d
Split validat*.cpp source files
...
Also see https://groups.google.com/forum/#\!topic/cryptopp-users/j_aQj6r-PoI
2018-07-28 14:57:12 -04:00
Jeffrey Walton
29113a980d
Fix compile under Visual Studio 2008
...
We need to add something to cryptest.sh to find these breaks due to <stdint.h>
2018-04-05 20:14:07 -04:00
Jeffrey Walton
129d65d987
Update documentation
2018-03-31 20:25:58 -04:00
Jeffrey Walton
64d02e3a18
Add scrypt key derivation function (GH #613 , PR #626 )
2018-03-31 20:09:38 -04:00
Jeffrey Walton
616741d4ea
Add missing function body for PKCS5_PBKDF1<T>::DeriveKey (GH #610 )
...
Not sure how I missed that entire body... Also added a default timeInSeconds to all PBKDFs
2018-03-30 00:10:26 -04:00
Jeffrey Walton
7b33bc5e04
Cutover PBKDF to KeyDerivationFunction interface (GH #610 , PR #612 )
2018-03-29 23:13:56 -04:00
Jeffrey Walton
32abab75f2
Add KeyDerivationFunction interface (GH #610 , PR #611 )
2018-03-29 20:18:27 -04:00
Jeffrey Walton
b20a91f6b2
Update documentation
2017-12-24 21:07:18 -05:00
Jeffrey Walton
5267723a49
Add SM3 hash function (GH #541 )
2017-11-23 23:19:09 -05:00
Jeffrey Walton
14a5221d82
Remove unneeded Debug tests
...
These tests are effectively performed in MDC, SEAL and OldRandomPool
2017-09-01 02:37:41 -04:00
Jeffrey Walton
bf35d58ad7
Cleanup selft tests
2017-08-05 05:32:43 -04:00
Jeffrey Walton
a2cab93117
Add hash static transform test (Issue 455)
2017-08-04 23:35:38 -04:00
Jeffrey Walton
7ac77ca9ac
Revert "Revert "Clear Visual Studio warnings (Issue 412)""
...
This reverts commit c3871aec94 .
2017-06-02 05:18:52 -04:00
Jeffrey Walton
c3871aec94
Revert "Clear Visual Studio warnings (Issue 412)"
...
This reverts commit eb3b27a6a5 . 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.
2017-06-02 05:06:56 -04:00
Jeffrey Walton
eb3b27a6a5
Clear Visual Studio warnings (Issue 412)
2017-05-30 16:37:41 -04:00
Jeffrey Walton
537ee61ade
Switch to _MSC_FULL_VER for SP1 releases
2017-05-11 12:05:57 -04:00
Jeffrey Walton
308336c4e1
Switch to COUNTOF in validat3.cpp
2017-05-11 11:18:52 -04:00
Dmitry S. Baikov
a9b06b40e7
fixed type casts in blake2 tests
2017-05-11 07:39:51 +03:00
Dmitry S. Baikov
39abbbb070
NULLPTR fix for blake2 tests
2017-05-11 07:14:37 +03:00
Dmitry S. Baikov
e8e0b1c3f2
blake2: Fixed initialization when using non-keyed constructor with non-standard digest size. Added test vectors.
...
https://github.com/weidai11/cryptopp/issues/415
Test vectors generated with pyblake2 which uses 'BLAKE2 reference source code package' by Samuel Neves
2017-05-11 06:46:56 +03:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383)
2017-03-01 06:10:06 -05:00