summaryrefslogtreecommitdiff
path: root/donna_32.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use std namespace for memset, memcpy, memcmp (#1204)Jeffrey Walton2023-04-151-3/+3
|
* Fix typos (PR# 1099)Dimitris Apostolou2022-01-041-1/+1
|
* Clear conversion warnings under MSVCJeffrey Walton2019-10-191-2/+2
|
* Clear unreachable code warnings with early MSVC compilersJeffrey Walton2019-10-031-0/+4
|
* 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-3/+119
|
* Add SecretToPublicKey function for ed25519Jeffrey Walton2019-02-071-1/+1
| | | | Also remove IsClamped. Clamping occurs with ed25519, but it happens inside the Donna code. It is not needed elsewhere for ed25519.
* Clear unused function warning in Donna source files (GH #793)Jeffrey Walton2019-01-301-0/+4
|
* Add ed25519 (GH #764, PR #767)Jeffrey Walton2018-12-241-33/+1436
| | | Add ed25519
* Make SSE2 configurable via CRYPTOPP_SSE2_INTRIN_AVAILABLEJeffrey Walton2018-12-141-7/+4
| | | | Benchmarking shows things run a little slower with SSE2 on modern Core i5's. Also update comments and links
* Update commentsJeffrey Walton2018-12-141-1/+1
|
* Fix placement of align attribute for 32-bitJeffrey Walton2018-12-141-1/+1
|
* 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.
* Update commentsJeffrey Walton2018-12-131-29/+4
|
* Fix the cut-in of Moon's implementation (GH #761)Jeffrey Walton2018-12-131-132/+204
| | | | 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-8/+7
|
* Cleanup Moon's donna_32.cppJeffrey Walton2018-12-131-91/+12
|
* Cutover to Andrew Moon's 32-bit code (GH #761)Jeffrey Walton2018-12-131-918/+483
| | | | The code is public domain without license restrictions. It is also faster than Langley's original implementation.
* Add Moon's curve25519 using SSE2 (GH #761)Jeffrey Walton2018-12-131-10/+30
| | | | 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 compile on 32-bit MIPS (GH #761)Jeffrey Walton2018-12-131-18/+32
| | | | Testing on a ci20 dev-board with Debian 5 and GCC 4
* Fix missing semi-colon in non-ASM pathJeffrey Walton2018-12-131-3/+3
|
* Cleanup donna_32.cpp arithmetic shiftJeffrey Walton2018-12-121-35/+60
|
* Switch to library integer typesJeffrey Walton2018-12-121-8/+8
| | | | The standard ints will cause trouble on older versions of Visual Studio. It looks like they were missed at the initial cut-in.
* Fix compile on 32-bit SunCC (GH #761)Jeffrey Walton2018-12-121-10/+63
|
* Fix failed self test when NO_OS_DEPENDENCE (GH #761)Jeffrey Walton2018-12-121-6/+12
| | | | | | | | | | | | 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/+899