aboutsummaryrefslogtreecommitdiff
path: root/src/test/ed25519_vectors.inc
AgeCommit message (Collapse)Author
2021-03-30Add two new test vectors for ed25519 key blinding.George Kadianakis
- Also fix the vector producing script to work with python3.
2017-08-08Don't double hash the ed25519 blind key parameter.George Kadianakis
We used to do: h = H(BLIND_STRING | H(A | s | B | N ) when we should be doing: h = H(BLIND_STRING | A | s | B | N) Change the logic so that hs_common.c does the hashing, and our ed25519 libraries just receive the hashed parameter ready-made. That's easier than doing the hashing on the ed25519 libraries, since that means we would have to pass them a variable-length param (depending on whether 's' is set or not). Also fix the ed25519 test vectors since they were also double hashing.
2014-09-25Add comments to ed25519_vectors.incNick Mathewson
2014-09-25Add a reference implementation of our ed25519 modificationsNick Mathewson
Also, use it to generate test vectors, and add those test vectors to test_crypto.c This is based on ed25519.py from the ed25519 webpage; the kludgy hacks are my own.