]> git.codecow.com Git - Monocypher.git/commitdiff
Comment nitpick about test vectors.
authorLoup Vaillant <loup@loup-vaillant.fr>
Wed, 31 Jan 2018 17:40:59 +0000 (18:40 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Wed, 31 Jan 2018 17:40:59 +0000 (18:40 +0100)
We no longer need SHA-512 for the Ed25519 test vectors, since we now
generate EdDSA/Blake2b test vectors with the Donna implementation.

src/monocypher.c

index 949de027026df5a5d4f35495bf3f10df16a48328..3fe79dd181637808ccf62eddae15f0a6b418ac27 100644 (file)
@@ -4,10 +4,9 @@
 /// Utilities ///
 /////////////////
 
-// By default, EdDSA signatures use blake2b.  SHA-512 is provided as
-// an option for full ed25519 compatibility (a must for test vectors).
-// Compile with option -DED25519_SHA512 to use with sha512.  If you do
-// so, you must provide the "sha512" header with suitable functions.
+// By default, EdDSA signatures use blake2b.  SHA-512 is provided as an
+// option for full ed25519 compatibility. To use with SHA-512, compile
+// with option -DED25519_SHA512 and provide the "sha512" header.
 #ifdef ED25519_SHA512
     #include "sha512.h"
     #define HASH crypto_sha512