[tor-commits] [torspec/master] prop224: Use consistent notation of period_num

dgoulet at torproject.org dgoulet at torproject.org
Wed Apr 19 13:58:58 UTC 2017


commit caa9353c7146fd0d8efb774eef951ed3ac4b526e
Author: David Goulet <dgoulet at torproject.org>
Date:   Wed Apr 19 09:58:21 2017 -0400

    prop224: Use consistent notation of period_num
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 proposals/224-rend-spec-ng.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/proposals/224-rend-spec-ng.txt b/proposals/224-rend-spec-ng.txt
index c037ff8..d403343 100644
--- a/proposals/224-rend-spec-ng.txt
+++ b/proposals/224-rend-spec-ng.txt
@@ -903,9 +903,10 @@ Table of contents:
 
    To do so, Tor clients and services use:
 
-     SRV = HMAC("shared-random-disaster", TIME_PERIOD_NUM)
+     SRV = HMAC("shared-random-disaster", INT_8(period_num))
 
-   as the SRV for time period TIME_PERIOD_NUM.
+   where period_num is calculated as specified in [TIME-PERIODS] for the
+   wanted shared random value that could not be found originally.
 
 2.3.2. Hidden services and changing shared random values
 



More information about the tor-commits mailing list