tor-spec: clean-ups and a new proposal (357) related to use of KH.
1 unresolved thread
1 unresolved thread
In this branch:
- We clean up some of our usage of CREATE, to make sure that "CREATE" never means "CREATE or CREATE2".
- We clarify some points about the generation and use of the
KH
field. - We add a new proposal for a better way to use
KH
in the future.
Closes #191 (closed).
Merge request reports
Activity
assigned to @nickm
added Project 112 label
requested review from @dgoulet
mentioned in merge request !354 (merged)
- proposals/357-circ-key-exporters.md 0 → 100644
46 - S (customization string) as a customization string starting with "Tor:" 47 - L (the output length) as desired. 48 49 We denote this exported secret as: 50 51 ``` 52 CircExporter(Circuit[Hop], Custom, Len) 53 = cSHAKE128(X=Circuit[Hop].KH, L=Len, N="", C=Custom) 54 ``` 55 56 > For example, in the future when we're computing our MAC 57 > for an ESTABLISH\_INTRO message, 58 > instead of using KH directly as our MAC key, 59 > we might use 60 > `CircExporter(Circuit[Hop], "Tor:ESTABLISH_INTRO MAC", 32)` 61 > as our MAC key. mentioned in commit 08f09290
Please register or sign in to reply