mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-06-22 05:48:20 +02:00
check more precise result of EVP_DigestVerify
This commit is contained in:
parent
5974d2b5ac
commit
bb2b34ff4f
3 changed files with 6 additions and 8 deletions
|
@ -58,9 +58,7 @@ int main ()
|
|||
uint8_t s[64];
|
||||
i2p::crypto::EDDSA25519Signer signer (key);
|
||||
signer.Sign (msg, 1023, s);
|
||||
#if OPENSSL_EDDSA
|
||||
assert(memcmp (s, sig, 64) == 0);
|
||||
#endif
|
||||
|
||||
i2p::crypto::EDDSA25519Verifier verifier;
|
||||
verifier.SetPublicKey (pub);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue