diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-05-02 16:18:10 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-07-07 11:12:26 -0400 |
commit | ba928e1ac8f13714aa6b619dd6f12ae89240d6ff (patch) | |
tree | cb54cff23711b26585047e671db04c8751eb37dc /src/or/onion_tap.h | |
parent | f8dc1164ba86099d4106dffa84435366bf6cdcd6 (diff) | |
download | tor-ba928e1ac8f13714aa6b619dd6f12ae89240d6ff.tar.gz tor-ba928e1ac8f13714aa6b619dd6f12ae89240d6ff.zip |
Refactor the HS ntor key expansion to fit the e2e circuit API.
We want to use the circuit_init_cpath_crypto() function to setup our
cpath, and that function accepts a key array as input. So let's make our
HS ntor key expansion function also return a key array as output,
instead of a struct.
Also, we actually don't need KH from the key expansion, so the key
expansion output can be one DIGEST256_LEN shorter. See here for more
info: https://trac.torproject.org/projects/tor/ticket/22052#comment:3
Diffstat (limited to 'src/or/onion_tap.h')
0 files changed, 0 insertions, 0 deletions