aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/crypt_path.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-04-09 18:04:15 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2019-05-03 18:15:26 +0300
commit2e9e3e7d4198ff75e6bd12bc7a38c0f288fbe381 (patch)
tree3df7a5ce9bf42f9bcd2a2388df13df77f237414e /src/core/or/crypt_path.c
parent0ed5c6edf9c905276d462ed2402568216ecb1dee (diff)
downloadtor-2e9e3e7d4198ff75e6bd12bc7a38c0f288fbe381.tar.gz
tor-2e9e3e7d4198ff75e6bd12bc7a38c0f288fbe381.zip
Hiding crypt_path_t: Some TODO notes for future directions.
Diffstat (limited to 'src/core/or/crypt_path.c')
-rw-r--r--src/core/or/crypt_path.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/or/crypt_path.c b/src/core/or/crypt_path.c
index 8fcbcc2a12..c7ff8690de 100644
--- a/src/core/or/crypt_path.c
+++ b/src/core/or/crypt_path.c
@@ -8,6 +8,17 @@
* \brief Functions dealing with layered circuit encryption. This file aims to
* provide an API around the crypt_path_t structure which holds crypto
* information about a specific hop of a circuit.
+ *
+ * TODO: We should eventually move all functions dealing and manipulating
+ * crypt_path_t to this file, so that eventually we encapsulate more and more
+ * of crypt_path_t. Here are some more functions that can be moved here with
+ * some more effort:
+ *
+ * - circuit_list_path_impl()
+ * - Functions dealing with cpaths in HSv2 create_rend_cpath() and
+ * create_rend_cpath_legacy()
+ * - The cpath related parts of rend_service_receive_introduction() and
+ * rend_client_send_introduction().
**/
#define CRYPT_PATH_PRIVATE