summaryrefslogtreecommitdiff
path: root/donna.h
Commit message (Collapse)AuthorAgeFilesLines
* Update documentationJeffrey Walton2018-12-241-0/+4
|
* Add ed25519 (GH #764, PR #767)Jeffrey Walton2018-12-241-17/+75
| | | Add ed25519
* Enable x25519 SSE2 for MS compilers (GH #761)Jeffrey Walton2018-12-141-2/+10
|
* Enable x25519 64-bit code path for Microsoft compilersJeffrey Walton2018-12-141-5/+14
|
* Make SSE2 configurable via CRYPTOPP_SSE2_INTRIN_AVAILABLEJeffrey Walton2018-12-141-3/+21
| | | | Benchmarking shows things run a little slower with SSE2 on modern Core i5's. Also update comments and links
* Fix the cut-in of Moon's implementation (GH #761)Jeffrey Walton2018-12-131-0/+9
| | | | The initial cut-in was missing preamble present in Moon's curve25519_donna function. It originally tested good because we only perform a pairwise consistency check in release builds. Comprehensive testing with debug builds revealed the problem. Debug builds cross-validate against Bernstein's TweetNaCl library.
* Add Moon's curve25519 using SSE2 (GH #761)Jeffrey Walton2018-12-131-47/+4
| | | | Moon's code is very fast. In fact it is so fast it broke our benchmarks. Moon's code registers 0.00 milliseconds and 0.00 megacycles/operation.
* Fix failed self test when NO_OS_DEPENDENCE (GH #761)Jeffrey Walton2018-12-121-1/+19
| | | | | | | | | | | | Add is_clamped for secret key validation. Cleanup paramter names in Donna::curve25519 to follow function. Overload Donna::curve25519 to implicitly use base point if not provided. Add additional asserts to let the code debug itself. Update documentation.
* Add Langley's curve25519 (GH #761, PR# 762)Jeffrey Walton2018-12-111-0/+65