summaryrefslogtreecommitdiff
path: root/xed25519.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use dynamic_cast in ed25519 (GH #829)Jeffrey Walton2019-04-301-5/+5
|
* Clear unused warnings with MSVCJeffrey Walton2019-02-221-0/+1
|
* Add ed25519 SignStream and VerifyStream functions (GH #796, PR #797)Jeffrey Walton2019-02-101-0/+21
|
* Add SecretToPublicKey function for x25519Jeffrey Walton2019-02-071-11/+19
|
* Update commentsJeffrey Walton2019-02-071-3/+3
|
* Add SecretToPublicKey function for ed25519Jeffrey Walton2019-02-071-22/+10
| | | | Also remove IsClamped. Clamping occurs with ed25519, but it happens inside the Donna code. It is not needed elsewhere for ed25519.
* Use SECRET_KEYLENGTH for ed25519PrivateKey::GenerateRandomJeffrey Walton2019-02-061-1/+1
|
* Remove /openmp from cryptest.nmakeJeffrey Walton2019-01-221-1/+1
| | | | This has cross-pollinated twice in two days
* Clear unused variable warning on AIXJeffrey Walton2019-01-221-1/+1
|
* PublicKey is optional for curve25519Jeffrey Walton2018-12-261-2/+8
|
* Remove unneeded buf compareJeffrey Walton2018-12-261-8/+4
|
* Cleanup Validate testsJeffrey Walton2018-12-261-6/+10
|
* Add ed25519PrivateKey::Validate body (GH #764)Jeffrey Walton2018-12-261-1/+27
| | | | We also clamp the private key and recalculate the public key. Note: we already know some IETF keys fail to validate because they are not clamped as specified in Bernsteain's paper or the RFCs (derp....)
* Add additional assertsJeffrey Walton2018-12-251-14/+28
|
* Remove unneeded ed25519Verifier codeJeffrey Walton2018-12-251-19/+4
| | | | Add accessors for public and private key
* Update documentationJeffrey Walton2018-12-251-0/+3
|
* Clear unused variable warningJeffrey Walton2018-12-251-2/+2
|
* Add ed25519 (GH #764, PR #767)Jeffrey Walton2018-12-241-110/+680
| | | Add ed25519
* Update comments and documentationJeffrey Walton2018-12-141-3/+4
|
* Make clamped and small order tests static class membersJeffrey Walton2018-12-131-43/+47
|
* Fix compile on 32-bit MIPS (GH #761)Jeffrey Walton2018-12-131-1/+1
| | | | Testing on a ci20 dev-board with Debian 5 and GCC 4
* Fix missing semi-colon in non-ASM pathJeffrey Walton2018-12-131-4/+4
|
* Perform both is_clamped and is_small_order at level 2 validationJeffrey Walton2018-12-121-1/+1
|
* Fix failed self test when NO_OS_DEPENDENCE (GH #761)Jeffrey Walton2018-12-121-19/+63
| | | | | | | | | | | | 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.
* Cut-in x25519 weak points and validationJeffrey Walton2018-12-111-3/+57
|
* Update documentationJeffrey Walton2018-12-111-0/+13
|
* Add Langley's curve25519 (GH #761, PR# 762)Jeffrey Walton2018-12-111-0/+143