Commit Graph

9 Commits (ec1aa8874cc300613f382b9732a2cb2cfdd45b40)

Author SHA1 Message Date
Jeffrey Walton 5de6545827
Add additional test vectors 2018-11-04 20:05:08 -05:00
Jeffrey Walton d7a3562c0b
Whitespace check-in 2018-11-04 14:36:55 -05:00
Jeffrey Walton 87d679bc7e
Add additional ChaCha20 test vectors (GH #732)
The additional tests ensure we cross the 32-bit boundary used by the state counters
2018-11-04 14:34:32 -05:00
Jeffrey Walton 916c4484a2
Add ChaCha SSE2 implementation
Thanks to Jack Lloyd and Botan for allowing us to use the implementation.
The numbers for SSE2 are very good. When compared with Salsa20 ASM the results are:
  * Salsa20 2.55 cpb; ChaCha/20 2.90 cpb
  * Salsa20/12 1.61 cpb; ChaCha/12 1.90 cpb
  * Salsa20/8 1.34 cpb; ChaCha/8 1.5 cpb
2018-10-23 07:57:59 -04:00
Jeffrey Walton 35b874b527
Add additional ChaCha tests 2018-10-23 07:35:41 -04:00
Jeffrey Walton e2be0cdecc
Make ChaCha an Salsa use the same design pattern 2018-08-17 06:19:30 -04:00
Jeffrey Walton 2f83777e9b
Backout ChaCha changes to Crypto++ 7.0
These changes made it in by accident at Commit b74a6f4445. We were going to try to let them ride but they broke versioning. They may be added later but we should avoid the change at this time.
2018-07-25 16:25:41 -04:00
Jeffrey Walton f065f193c1
Fixed failed ChaCha tests
We switched to the pattern used for Salsa but did not update the name in the test vector file
2018-07-06 22:30:11 -04:00
Jeffrey Walton b5ec56219e Add test vectors 2016-04-21 12:37:02 -04:00