aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriela Moldovan <gabi@torproject.org>2024-01-15 11:03:51 +0000
committerGabriela Moldovan <gabi@torproject.org>2024-01-15 11:31:28 +0000
commit26978436b1ba76ef26717280eec6a163d006bca6 (patch)
tree16fd3c14d7443733fadfdd6a73f1509686eb97e9
parentff50e6e6c085232bc7eb55e3932687bf052f09bc (diff)
downloadtorspec-26978436b1ba76ef26717280eec6a163d006bca6.tar.gz
torspec-26978436b1ba76ef26717280eec6a163d006bca6.zip
rend-spec: Put formulas in ```text blocks.
-rw-r--r--spec/rend-spec/deriving-keys.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/rend-spec/deriving-keys.md b/spec/rend-spec/deriving-keys.md
index 1452086..07649fd 100644
--- a/spec/rend-spec/deriving-keys.md
+++ b/spec/rend-spec/deriving-keys.md
@@ -21,13 +21,17 @@ leaving the hidden service's private key offline.
The subcredential for a period is derived as:
+```text
N_hs_subcred = H("subcredential" | N_hs_cred | blinded-public-key).
+```
In the above formula, credential corresponds to:
+```text
N_hs_cred = H("credential" | public-identity-key)
+```
-where public-identity-key is the public identity master key of the hidden
+where `public-identity-key` is the public identity master key of the hidden
service.
```text