Tor 0.4.9.0-alpha-dev
Data Fields
hs_cell_introduce2_data_t Struct Reference

#include <hs_cell.h>

Data Fields

const ed25519_public_key_tauth_pk
 
const curve25519_keypair_tenc_kp
 
size_t n_subcredentials
 
const struct hs_subcredential_tsubcredentials
 
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
 

Detailed Description

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.

Definition at line 72 of file hs_cell.h.

Field Documentation

◆ auth_pk

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().

◆ enc_kp

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().

◆ n_subcredentials

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().

◆ payload

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().

◆ payload_len

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().

◆ pv

Flow control negotiation parameters.

Definition at line 102 of file hs_cell.h.

Referenced by parse_introduce_cell_extension().

◆ 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().

◆ replay_cache

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().

◆ subcredentials

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().


The documentation for this struct was generated from the following file: