aboutsummaryrefslogtreecommitdiff
path: root/src/util/tweetnacl-gnunet.h
Commit message (Collapse)AuthorAge
* Don't normalize when deriving ECDSA public keysFlorian Dold2020-01-06
|
* Fix ECDSA/ECDH key exchangeFlorian Dold2020-01-06
| | | | | Libgcrypt interprets the private key as little endian, while tweetnacl interprets it as big endian. This caused the key exchange to fail.
* DCE / GNUNET_TWEETNACL prefix for exported symbolsFlorian Dold2019-11-26
|
* add license identifier to tweetnaclng02019-11-26
|
* use Curve25519 for ECDH and tweetnacl where we canFlorian Dold2019-11-26
This leads to some performance improvements and makes it easier to write software that interoperates with GNUnet / GNU Taler. It also avoids using the rather inconvenient libgcrypt APIs. We still need to keep libgcrypt though, as we need it for RSA, ECDSA and some other primitives. This change is still behind a #define NEW_CRYPTO, as it is a breaking change for both EdDSA (removing the superfluous additional hash) and for ECDHE (using Curve25519 instead of Ed25519).