tor  master
Macros | Functions
hs_circuit.c File Reference
#include "or.h"
#include "circpathbias.h"
#include "circuitbuild.h"
#include "circuitlist.h"
#include "circuituse.h"
#include "config.h"
#include "crypto_rand.h"
#include "crypto_util.h"
#include "nodelist.h"
#include "policies.h"
#include "relay.h"
#include "rendservice.h"
#include "rephist.h"
#include "router.h"
#include "hs_cell.h"
#include "hs_ident.h"
#include "hs_ntor.h"
#include "hs_service.h"
#include "hs_circuit.h"
#include "ed25519_cert.h"
#include "hs/cell_common.h"
#include "hs/cell_establish_intro.h"
Include dependency graph for hs_circuit.c:

Functions

STATIC hs_ident_circuit_tcreate_rp_circuit_identifier (const hs_service_t *service, const uint8_t *rendezvous_cookie, const curve25519_public_key_t *server_pk, const hs_ntor_rend_cell_keys_t *keys)
 
origin_circuit_ths_circ_service_get_intro_circ (const hs_service_intro_point_t *ip)
 
void hs_circ_retry_service_rendezvous_point (origin_circuit_t *circ)
 
int hs_circ_launch_intro_point (hs_service_t *service, const hs_service_intro_point_t *ip, extend_info_t *ei)
 
int hs_circ_service_intro_has_opened (hs_service_t *service, hs_service_intro_point_t *ip, const hs_service_descriptor_t *desc, origin_circuit_t *circ)
 
void hs_circ_service_rp_has_opened (const hs_service_t *service, origin_circuit_t *circ)
 
int hs_circ_handle_intro_established (const hs_service_t *service, const hs_service_intro_point_t *ip, origin_circuit_t *circ, const uint8_t *payload, size_t payload_len)
 
int hs_circ_handle_introduce2 (const hs_service_t *service, const origin_circuit_t *circ, hs_service_intro_point_t *ip, const uint8_t *subcredential, const uint8_t *payload, size_t payload_len)
 
int hs_circuit_setup_e2e_rend_circ (origin_circuit_t *circ, const uint8_t *ntor_key_seed, size_t seed_len, int is_service_side)
 
int hs_circuit_setup_e2e_rend_circ_legacy_client (origin_circuit_t *circ, const uint8_t *rend_cell_body)
 
int hs_circ_send_introduce1 (origin_circuit_t *intro_circ, origin_circuit_t *rend_circ, const hs_desc_intro_point_t *ip, const uint8_t *subcredential)
 
int hs_circ_send_establish_rendezvous (origin_circuit_t *circ)
 
void hs_circ_cleanup (circuit_t *circ)