]> git.codecow.com Git - Monocypher.git/commitdiff
update README
authorLoup Vaillant <loup@loup-vaillant.fr>
Tue, 21 Feb 2017 00:30:40 +0000 (01:30 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Tue, 21 Feb 2017 00:30:40 +0000 (01:30 +0100)
README
test.c

diff --git a/README b/README
index 77093d56b499e06c1912072a82c722b64d3042de..23dac555990d18c07b8b5e016eda389749d62bea 100644 (file)
--- a/README
+++ b/README
@@ -7,8 +7,8 @@ Packaged by Loup Vaillant.
 - Poly1305: Loup Vaillant, implemented from spec.
 - Blake2b:  derived from https://tools.ietf.org/html/rfc7693
 - Argon2i:  Loup Vaillant, implemented from spec.
-- X25519:   taken from http://tweetnacl.cr.yp.to/
-- ed25519:  taken from http://tweetnacl.cr.yp.to/
+- X25519:   taken from SUPERCOP ref10.
+- ed25519:  adapted http://tweetnacl.cr.yp.to/ for ref10 arithmetic.
 - High-level constructions: Loup Vaillant, implemented from specs and
   first principles
 
@@ -63,7 +63,7 @@ For the Blake2b code:
 Current status
 --------------
 
-Beta.  Interfaces may still change.  Needs external review.
+0.2  Interfaces should stabilise.  Needs external review.
 
 
 Test suite
@@ -79,11 +79,15 @@ somewhere.
 *Do not* use Monocypher without having run the test suite at least
 once.
 
+
 Integration to your project
 ---------------------------
 
 Just copy monocypher.c and monocypher.h.
 
+Compile as C99, C11, C++98, C++11, C++14, and C++17. (Tested with
+gcc 5.4.0 and clang 2.8.0 on GNU/Linux.)
+
 
 Customisation
 -------------
@@ -96,3 +100,8 @@ the default Blake2b, do as the test suite does:
 
 - Link the final program with a suitable SHA-512 implementation.  You
   can use the sha512.c and sha512.h files provided here.
+
+Note that even though the default hash (Blake2b) is not widely used,
+it doesn't prevent you from upgrading to faster implementations if you
+need to.  The Donna implementations of ed25519 for instance can use a
+custom hash.
diff --git a/test.c b/test.c
index 00b002602135e68b09fab9950c6e390265034622..51618917d94b3ba8a435bb63c720e0d6ee64730d 100644 (file)
--- a/test.c
+++ b/test.c
@@ -296,8 +296,6 @@ sv x25519(const vector in[], vector *out)
     crypto_x25519(out->buf, scalar->buf, point->buf);
 }
 
-// Disabling the following test, because it takes too damn long
-// I suggest you run it once, though.
 sv iterate_x25519(uint8_t k[32], uint8_t u[32])
 {
     uint8_t tmp[32];