17 #define HS_CELL_INTRODUCE1_MIN_SIZE 246 21 HS_CELL_INTRO_ACK_SUCCESS = 0x0000,
22 HS_CELL_INTRO_ACK_FAILURE = 0x0001,
23 HS_CELL_INTRO_ACK_BADFMT = 0x0002,
24 HS_CELL_INTRO_ACK_NORELAY = 0x0003,
25 } hs_cell_introd_ack_status_t;
29 HS_CELL_ONION_KEY_TYPE_NTOR = 1,
30 } hs_cell_onion_key_type_t;
36 unsigned int is_legacy : 1;
45 const uint8_t *subcredential;
49 const uint8_t *rendezvous_cookie;
73 const uint8_t *subcredential;
75 const uint8_t *payload;
90 replaycache_t *replay_cache;
94 ssize_t hs_cell_build_establish_intro(
const char *circ_nonce,
97 ssize_t hs_cell_build_rendezvous1(
const uint8_t *rendezvous_cookie,
98 size_t rendezvous_cookie_len,
99 const uint8_t *rendezvous_handshake_info,
100 size_t rendezvous_handshake_info_len,
104 ssize_t hs_cell_build_establish_rendezvous(
const uint8_t *rendezvous_cookie,
108 ssize_t hs_cell_parse_intro_established(
const uint8_t *payload,
113 int hs_cell_parse_introduce_ack(
const uint8_t *payload,
size_t payload_len);
114 int hs_cell_parse_rendezvous2(
const uint8_t *payload,
size_t payload_len,
115 uint8_t *handshake_info,
116 size_t handshake_info_len);
Definition: hs_service.h:35
Header file containing service data for the HS subsytem.
Definition: crypto_ed25519.h:23
Definition: container.h:18
Master header file for Tor-specific functionality.
Definition: crypto_curve25519.h:38
Definition: crypto_curve25519.h:24
Definition: crypto_rsa.c:41
Definition: hs_service.h:215
#define REND_COOKIE_LEN
Definition: or.h:823