Add test vectors for ensuring identical C25519 operation across systems.
This commit is contained in:
parent
09c8b4bbb3
commit
660f92b6a7
5 changed files with 142 additions and 39 deletions
|
@ -2151,6 +2151,10 @@ static void get_hram(unsigned char *hram, const unsigned char *sm, const unsigne
|
|||
SHA512::hash(hram,playground,(unsigned int)smlen);
|
||||
}
|
||||
|
||||
// This is the original sign and verify code -- the versions in sign() and
|
||||
// verify() below the fold are slightly modified in terms of how they behave
|
||||
// in relation to the message, but the algorithms are the same.
|
||||
|
||||
#if 0
|
||||
int crypto_sign_keypair(
|
||||
unsigned char *pk,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue