[tor-commits] [torspec/master] Fix an error in the description of KDF-RFC5869

nickm at torproject.org nickm at torproject.org
Tue Jan 6 18:17:49 UTC 2015


commit 8a452ace6bb9a1aaaf160ac961f11aa5acaafb41
Author: Tom van der Woerdt <info at tvdw.eu>
Date:   Thu Jan 1 00:42:27 2015 +0100

    Fix an error in the description of KDF-RFC5869
---
 tor-spec.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tor-spec.txt b/tor-spec.txt
index 923ea63..43bb181 100644
--- a/tor-spec.txt
+++ b/tor-spec.txt
@@ -1006,7 +1006,7 @@ see tor-design.pdf.
 
        Where H(x,t) is HMAC_SHA256 with value x and key t
          and K_1     = H(m_expand | INT8(1) , KEY_SEED )
-         and K_(i+1) = H(K_i | m_expand | INT8(i) , KEY_SEED )
+         and K_(i+1) = H(K_i | m_expand | INT8(i+1) , KEY_SEED )
          and m_expand is an arbitrarily chosen value,
          and INT8(i) is a octet with the value "i".
 



More information about the tor-commits mailing list