David Goulet
50cfc98340
prop224: Add unit tests for INTRODUCE1 support
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-01-18 16:58:54 -05:00
David Goulet
5208085be1
hs: Rename rend_mid_introduce() with legacy semantic
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-01-18 16:58:34 -05:00
David Goulet
9d7505a62a
prop224: Rename hs_intro_circuit_is_suitable()
...
Adds a better semantic and it also follows the same interface for the
INTRODUCE1 API which is circuit_is_suitable_for_introduce1().
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-01-18 16:58:34 -05:00
David Goulet
e1497744c8
prop224: Add INTRODUCE1 cell relay support
...
Closes #20029
Signed-off-by: David Goulet <dgoulet@torproject.org>
2017-01-18 16:58:33 -05:00
Nick Mathewson
81360c4a5f
whitespace fixes
2016-12-14 15:41:08 -05:00
David Goulet
a4eb17ed89
prop224: Use LOG_PROTOCOL_WARN instead of log_warn(LD_PROTOCOL, ...) in hs_intropoint.c
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2016-12-14 15:19:10 -05:00
David Goulet
118691cd47
crypto: Change crypto_mac_sha3_256 to use the key length in the construction
...
Signed-off-by: David Goulet <dgoulet@torproject.org>
2016-12-14 15:18:40 -05:00
George Kadianakis
d7be1fd519
prop224: Introduce the new introduction point code.
...
(pun not intended)
Now our code supports both legacy and prop224 ESTABLISH_INTRO cells :)
hs_intro_received_establish_intro() is the new entry point.
2016-12-14 15:18:36 -05:00