]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Explain CURVE25519_ENABLED: closes 9774
authorNick Mathewson <nickm@torproject.org>
Fri, 7 Feb 2014 21:16:56 +0000 (16:16 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 7 Feb 2014 21:16:56 +0000 (16:16 -0500)
src/common/crypto_curve25519.h

index f9d533ba2210a63827377ab1018eb6858c1dc968..57018ac2f515a5013758e5fa4cc7b1424234daba 100644 (file)
@@ -31,6 +31,11 @@ typedef struct curve25519_keypair_t {
 } curve25519_keypair_t;
 
 #ifdef CURVE25519_ENABLED
+/* These functions require that we actually know how to use curve25519 keys.
+ * The other data structures and functions in this header let us parse them,
+ * store them, and move them around.
+ */
+
 int curve25519_public_key_is_ok(const curve25519_public_key_t *);
 
 int curve25519_secret_key_generate(curve25519_secret_key_t *key_out,