]> git.ipfire.org Git - thirdparty/tor.git/commit
Compute OPE cipher structure only when needed.
authorGeorge Kadianakis <desnacked@riseup.net>
Tue, 17 Jul 2018 16:03:18 +0000 (12:03 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 17 Jul 2018 19:57:46 +0000 (15:57 -0400)
commitd8b71609cb9c2ce15b6a26d11b2bcdedf15b915e
tree09ac55bfd5d1cc7e607f1edbee2a796b66b15d58
parentf00b7a7faa443d224dcd46dd7511f42763e64584
Compute OPE cipher structure only when needed.

The OPE cipher is tied to the current blinded key which is tied to the current
time period. Hence create the OPE cipher structure when we create a new
descriptor (and build its blinded key).
src/or/hs_service.c
src/or/hs_service.h