Tor
0.4.7.0-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 |
curve25519_public_key_t | onion_pk |
uint8_t | rendezvous_cookie [REND_COOKIE_LEN] |
curve25519_public_key_t | client_pk |
smartlist_t * | link_specifiers |
replaycache_t * | replay_cache |
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 55 of file hs_cell.h.
Referenced by get_introduce2_keys_and_verify_mac(), and hs_circ_handle_introduce2().
curve25519_public_key_t client_pk |
Client public key from the INTRODUCE2 encrypted section.
Definition at line 80 of file hs_cell.h.
Referenced by get_introduce2_keys_and_verify_mac().
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 59 of file hs_cell.h.
Referenced by get_introduce2_keys_and_verify_mac(), and hs_circ_handle_introduce2().
smartlist_t* link_specifiers |
Link specifiers of the rendezvous point. Contains link_specifier_t.
Definition at line 82 of file hs_cell.h.
Referenced by hs_circ_handle_introduce2(), and launch_rendezvous_point_circuit().
size_t n_subcredentials |
Length of the subcredentials array below.
Definition at line 63 of file hs_cell.h.
Referenced by get_introduce2_keys_and_verify_mac(), and get_subcredential_for_handling_intro2_cell().
curve25519_public_key_t onion_pk |
Onion public key computed using the INTRODUCE2 encrypted section.
Definition at line 76 of file hs_cell.h.
Referenced by launch_rendezvous_point_circuit().
const uint8_t* payload |
Payload of the received encoded cell.
Definition at line 69 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 71 of file hs_cell.h.
Referenced by hs_cell_parse_introduce2(), and hs_circ_handle_introduce2().
uint8_t rendezvous_cookie[REND_COOKIE_LEN] |
Rendezvous cookie taken from the INTRODUCE2 encrypted section.
Definition at line 78 of file hs_cell.h.
Referenced by hs_circ_handle_introduce2().
replaycache_t* replay_cache |
Replay cache of the introduction point.
Definition at line 84 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 67 of file hs_cell.h.
Referenced by get_introduce2_keys_and_verify_mac(), and get_subcredential_for_handling_intro2_cell().