hs_circuit.h 702 B

123456789101112131415161718192021222324
  1. /* Copyright (c) 2017, The Tor Project, Inc. */
  2. /* See LICENSE for licensing information */
  3. /**
  4. * \file hs_circuit.h
  5. * \brief Header file containing circuit data for the whole HS subsytem.
  6. **/
  7. #ifndef TOR_HS_CIRCUIT_H
  8. #define TOR_HS_CIRCUIT_H
  9. #include "or.h"
  10. /* e2e circuit API. */
  11. int hs_circuit_setup_e2e_rend_circ(origin_circuit_t *circ,
  12. const uint8_t *ntor_key_seed,
  13. size_t seed_len,
  14. int is_service_side);
  15. int hs_circuit_setup_e2e_rend_circ_legacy_client(origin_circuit_t *circ,
  16. const uint8_t *rend_cell_body);
  17. #endif /* TOR_HS_CIRCUIT_H */