20 #define MAX_ONIONSKIN_CHALLENGE_LEN 255
21 #define MAX_ONIONSKIN_REPLY_LEN 255
72 uint16_t handshake_type, uint16_t handshake_len,
73 const uint8_t *onionskin);
78 const uint8_t *payload_in,
81 const uint8_t *payload_in,
size_t payload_len);
tor_cmdline_mode_t command
Header for crypto_ed25519.c.
int created_cell_parse(created_cell_t *cell_out, const cell_t *cell_in)
void create_cell_init(create_cell_t *cell_out, uint8_t cell_type, uint16_t handshake_type, uint16_t handshake_len, const uint8_t *onionskin)
int create_cell_parse(create_cell_t *cell_out, const cell_t *cell_in)
int extend_cell_parse(extend_cell_t *cell_out, const uint8_t command, const uint8_t *payload_in, size_t payload_len)
int created_cell_format(cell_t *cell_out, const created_cell_t *cell_in)
int extended_cell_parse(extended_cell_t *cell_out, const uint8_t command, const uint8_t *payload_in, size_t payload_len)
int extended_cell_format(uint8_t *command_out, uint16_t *len_out, uint8_t *payload_out, const extended_cell_t *cell_in)
int extend_cell_format(uint8_t *command_out, uint16_t *len_out, uint8_t *payload_out, const extend_cell_t *cell_in)
#define CELL_PAYLOAD_SIZE
uint8_t onionskin[CELL_PAYLOAD_SIZE - 4]
uint8_t reply[CELL_PAYLOAD_SIZE - 2]
tor_addr_port_t orport_ipv4
create_cell_t create_cell
struct ed25519_public_key_t ed_pubkey
uint8_t node_id[DIGEST_LEN]
tor_addr_port_t orport_ipv6
created_cell_t created_cell
#define MOCK_DECL(rv, funcname, arglist)