Tor 0.4.9.1-alpha-dev
|
#include <hs_cell.h>
Data Fields | |
const ed25519_public_key_t * | auth_pk |
const curve25519_keypair_t * | enc_kp |
size_t | n_subcredentials |
const struct hs_subcredential_t * | subcredentials |
const uint8_t * | payload |
size_t | payload_len |
hs_cell_intro_rdv_data_t | rdv_data |
replaycache_t * | replay_cache |
protover_summary_flags_t | pv |
This data structure contains data that we need to parse an INTRODUCE2 cell which is used by the INTRODUCE2 cell parsing function. On a successful parsing, the onion_pk and rendezvous_cookie will be populated with the computed key material from the cell data. This structure is only used during INTRO2 parsing and discarded after that.
const ed25519_public_key_t* auth_pk |
Introduction point authentication public key. Pointer owned by the introduction point object through which we received the INTRO2 cell.
Definition at line 77 of file hs_cell.h.
Referenced by get_introduce2_keys_and_verify_mac(), and hs_circ_handle_introduce2().
const curve25519_keypair_t* enc_kp |
Introduction point encryption keypair for the ntor handshake. Pointer owned by the introduction point object through which we received the INTRO2 cell
Definition at line 81 of file hs_cell.h.
Referenced by get_introduce2_keys_and_verify_mac(), and hs_circ_handle_introduce2().
size_t n_subcredentials |
Length of the subcredentials array below.
Definition at line 85 of file hs_cell.h.
Referenced by get_introduce2_keys_and_verify_mac(), and get_subcredential_for_handling_intro2_cell().
const uint8_t* payload |
Payload of the received encoded cell.
Definition at line 91 of file hs_cell.h.
Referenced by hs_cell_parse_introduce2(), and hs_circ_handle_introduce2().
size_t payload_len |
Size of the payload of the received encoded cell.
Definition at line 93 of file hs_cell.h.
Referenced by hs_cell_parse_introduce2(), and hs_circ_handle_introduce2().
Flow control negotiation parameters.
Definition at line 102 of file hs_cell.h.
Referenced by parse_introduce_cell_extension().
hs_cell_intro_rdv_data_t rdv_data |
Data needed to launch a rendezvous circuit.
Definition at line 98 of file hs_cell.h.
Referenced by get_introduce2_keys_and_verify_mac(), hs_circ_handle_introduce2(), and parse_introduce_cell_extension().
replaycache_t* replay_cache |
Replay cache of the introduction point.
Definition at line 100 of file hs_cell.h.
Referenced by hs_circ_handle_introduce2().
const struct hs_subcredential_t* subcredentials |
Array of n_subcredentials subcredentials for the service. Pointer owned by the descriptor that owns the introduction point through which we received the INTRO2 cell.
Definition at line 89 of file hs_cell.h.
Referenced by get_introduce2_keys_and_verify_mac(), and get_subcredential_for_handling_intro2_cell().