12 #ifndef CRYPT_PATH_ST_H
13 #define CRYPT_PATH_ST_H
18 #define CRYPT_PATH_MAGIC 0x70127012u
36 #define CRYPT_PATH_PRIV_FIELD(x) x ## _crypt_path_private_field
38 #ifdef CRYPT_PATH_PRIVATE
41 #define pvt_crypto CRYPT_PATH_PRIV_FIELD(crypto)
69 #define CPATH_STATE_CLOSED 0
70 #define CPATH_STATE_AWAITING_KEYS 1
71 #define CPATH_STATE_OPEN 2
struct ntor_handshake_state_t ntor_handshake_state_t
Relay-cell encryption state structure.
struct crypt_path_t * prev
relay_crypto_t CRYPT_PATH_PRIV_FIELD(crypto)
struct crypt_path_t * next
struct crypto_dh_t * rend_dh_handshake_state
extend_info_t * extend_info
char rend_circ_nonce[DIGEST_LEN]
onion_handshake_state_t handshake_state