summaryrefslogtreecommitdiff
path: root/chacha.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove BOOL macro value (GH #462)Jeffrey Walton2017-08-201-2/+2
| | | | Currently the CRYPTOPP_BOOL_XXX macros set the macro value to 0 or 1. If we remove setting the 0 value (the #else part of the expression), then the self tests speed up by about 0.3 seconds. I can't explain it, but I have observed it repeatedly. This check-in prepares for the removal in Upstream master
* Remove extra preamble for copyright.Jeffrey Walton2017-02-211-1/+0
| | | | Similar text may be added in the future
* Updated CRYPTOPP_ASSERT based on commentsJeffrey Walton2016-10-171-1/+1
| | | | Also see https://github.com/weidai11/cryptopp/commit/399a1546de71f41598c15edada28e7f0d616f541#commitcomment-19448453
* Change from NDEBUG to CRYPTOPP_DEBUG in source files to ensure all debug ↵Jeffrey Walton2016-09-161-1/+1
| | | | behavior pivots on CRYPTOPP_DEBUG, and not NDEBUG (Issue 277, CVE-2016-7420)
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-2/+2
| | | | trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
* Cleared analysis warning on use of boolean in arithmetic expressionJeffrey Walton2016-07-231-2/+2
|
* Remove branch in increment counterJeffrey Walton2016-04-211-3/+4
|
* Update ChaCha to latest sourcesJeffrey Walton2016-04-211-79/+79
|
* Add ChaCha family of stream ciphersJeffrey Walton2016-04-211-0/+152