summaryrefslogtreecommitdiff
path: root/donna_64.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clear Clang warning on SSE2 loadJeffrey Walton2019-07-211-2/+2
|
* Remove C++11 constexpr code for CRYPTOPP_ALIGN_DATA (PR #830)Jeffrey Walton2019-04-301-3/+1
| | | I don't have faith in it even though it has tested good so far.
* Clear alignment warnings on ARM 32-bit platforms (#828)Jeffrey Walton2019-04-301-5/+33
|
* Clear alignment warnings on ARM 32-bit platformsJeffrey Walton2019-04-291-10/+23
|
* Add ed25519 SignStream and VerifyStream functions (GH #796, PR #797)Jeffrey Walton2019-02-101-4/+118
|
* Clear unused function warning in Donna source files (GH #793)Jeffrey Walton2019-01-301-0/+4
|
* Avoid use of uint8_t in donna64.cppJeffrey Walton2018-12-281-5/+5
|
* Add ed25519 (GH #764, PR #767)Jeffrey Walton2018-12-241-64/+1216
| | | Add ed25519
* Clear warning C4163: '_umul128' : not available as an intrinsic functionJeffrey Walton2018-12-141-5/+5
|
* Enable x25519 64-bit code path for Microsoft compilersJeffrey Walton2018-12-141-10/+44
|
* Make SSE2 configurable via CRYPTOPP_SSE2_INTRIN_AVAILABLEJeffrey Walton2018-12-141-3/+3
| | | | Benchmarking shows things run a little slower with SSE2 on modern Core i5's. Also update comments and links
* Update commentsJeffrey Walton2018-12-141-2/+2
|
* Fix the cut-in of Moon's implementation (GH #761)Jeffrey Walton2018-12-131-12/+2
| | | | 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.
* Fix the cut-in of Moon's implementation (GH #761)Jeffrey Walton2018-12-131-106/+183
| | | | 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.
* Cleanup donna filesJeffrey Walton2018-12-131-6/+4
|
* Cutover to Andrew Moon's 64-bit code (GH #761)Jeffrey Walton2018-12-131-438/+306
| | | | The code is public domain without license restrictions. It is also faster than Langley's original implementation.
* Fix copy/paste errorJeffrey Walton2018-12-131-1/+1
| | | | 32-bit was copied into 64-bit, including the oversized declarations.
* Add Moon's curve25519 using SSE2 (GH #761)Jeffrey Walton2018-12-131-13/+34
| | | | 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-6/+11
| | | | | | | | | | | | 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/+509