aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-01 20:05:57 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-01 20:05:57 +0000
commit103b8ead40102dd3f50db4f6b8b3353c783b6541 (patch)
treeec142c8e2a2050be3f10c6ae4c90cf9eaed3c51c /src/or/or.h
parent56b3d67149a96ad6d766be19a014d620b99dc34a (diff)
downloadtor-103b8ead40102dd3f50db4f6b8b3353c783b6541.tar
tor-103b8ead40102dd3f50db4f6b8b3353c783b6541.tar.gz
Finish implementing what-bob-does-on-INTRODUCE2
svn:r1432
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 8c343c9d3..425629695 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -491,6 +491,8 @@ typedef struct crypt_path_t crypt_path_t;
typedef struct {
int desired_path_len;
char *chosen_exit; /* nickname of planned exit node */
+ crypto_dh_env_t *rend_handshake_state; /*XXXXDOCDOC*/
+ unsigned char rend_key_material[52]; /*XXXXDOCDOC*/
} cpath_build_state_t;
/* struct for a path (circuit) through the network */
@@ -531,14 +533,15 @@ struct circuit_t {
uint8_t state;
uint8_t purpose;
- /*
- * holds hash of location-hidden service's PK if purpose is INTRO_POINT
- * or S_ESTABLISH_INTRO or S_RENDEZVOUSING;
- * holds y portion of y.onion (zero-padded) if purpose is C_INTRODUCING or
- * C_ESTABLISH_REND, or is a C_GENERAL for a hidden service.
- * filled with zeroes otherwise.
+ /* The field rend_sevice:
+ * holds hash of location-hidden service's PK if purpose is INTRO_POINT
+ * or S_ESTABLISH_INTRO or S_RENDEZVOUSING;
+ * holds y portion of y.onion (zero-padded) if purpose is C_INTRODUCING or
+ * C_ESTABLISH_REND, or is a C_GENERAL for a hidden service.
+ * is filled with zeroes otherwise.
*/
char rend_service[CRYPTO_SHA1_DIGEST_LEN];
+
/* Holds rendezvous cookie if purpose is REND_POINT_WAITING or
* S_RENDEZVOUSING. Filled with zeroes otherwise.
*/