Tor  0.4.7.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
 
curve25519_public_key_t onion_pk
 
uint8_t rendezvous_cookie [REND_COOKIE_LEN]
 
curve25519_public_key_t client_pk
 
smartlist_tlink_specifiers
 
replaycache_t * replay_cache
 

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 50 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 55 of file hs_cell.h.

Referenced by get_introduce2_keys_and_verify_mac(), and hs_circ_handle_introduce2().

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

◆ 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 59 of file hs_cell.h.

Referenced by get_introduce2_keys_and_verify_mac(), and hs_circ_handle_introduce2().

◆ link_specifiers

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

◆ n_subcredentials

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

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

◆ payload

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

◆ payload_len

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

◆ rendezvous_cookie

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

◆ replay_cache

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

◆ 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 67 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: