[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Explain CURVE25519_ENABLED: closes 9774
commit fdf68479b077c2b53fcdffd54e307f1258c81a4b
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Fri Feb 7 16:16:56 2014 -0500
Explain CURVE25519_ENABLED: closes 9774
---
src/common/crypto_curve25519.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/common/crypto_curve25519.h b/src/common/crypto_curve25519.h
index f9d533b..57018ac 100644
--- a/src/common/crypto_curve25519.h
+++ b/src/common/crypto_curve25519.h
@@ -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,
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits