diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-03-17 10:21:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-03-17 10:23:44 -0400 |
commit | 80955be6ecae7095d267981b39d10237aabc38a6 (patch) | |
tree | 2493b6603455eedc8ebea5f709c60d1d27717a78 /src/or/relay.h | |
parent | 320dcf65b7c8e382b27260a037bd1e93e563ccb9 (diff) | |
download | tor-80955be6ecae7095d267981b39d10237aabc38a6.tar.gz tor-80955be6ecae7095d267981b39d10237aabc38a6.zip |
Move relay-crypto functions from relay.[ch] to relay_crypto.[ch]
This should help us improve modularity, and should also make it
easier for people to experiment with other relay crypto strategies
down the road.
This commit is pure function movement.
Diffstat (limited to 'src/or/relay.h')
-rw-r--r-- | src/or/relay.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/or/relay.h b/src/or/relay.h index ff4d011f73..4bc3cb2889 100644 --- a/src/or/relay.h +++ b/src/or/relay.h @@ -90,13 +90,6 @@ void circuit_clear_cell_queue(circuit_t *circ, channel_t *chan); void stream_choice_seed_weak_rng(void); -int relay_decrypt_cell(circuit_t *circ, cell_t *cell, - cell_direction_t cell_direction, - crypt_path_t **layer_hint, char *recognized); -void relay_encrypt_cell_outbound(cell_t *cell, origin_circuit_t *or_circ, - crypt_path_t *layer_hint); -void relay_encrypt_cell_inbound(cell_t *cell, or_circuit_t *or_circ); - circid_t packed_cell_get_circid(const packed_cell_t *cell, int wide_circ_ids); #ifdef RELAY_PRIVATE |