commit 5f867a98c5fbfc6c22d6210f3fdbb980414a67c0
parent be0284aa5a35cde54031dc7b24d703e02d7438eb
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
Date: Thu, 3 Oct 2019 18:52:33 +0200
readd gns string to context
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/draft-schanzen-gns.html b/draft-schanzen-gns.html
@@ -1561,8 +1561,8 @@ async function addMetadata(){try{const e=document.styleSheets[0].cssRules;for(le
<pre>
PRK_k := HKDF-Extract ("gns-aes-ctx-key", zk)
PRK_iv := HKDF-Extract ("gns-aes-ctx-iv", zk)
- K := HKDF-Expand (PRK_k, l, 512 / 8);
- IV := HKDF-Expand (PRK_iv, l, 256 / 8)
+ K := HKDF-Expand (PRK_k, label, 512 / 8);
+ IV := HKDF-Expand (PRK_iv, label, 256 / 8)
</pre><a href="#section-4.3-2" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.3-3">
diff --git a/draft-schanzen-gns.xml b/draft-schanzen-gns.xml
@@ -274,7 +274,7 @@
<name>Key derivations</name>
<artwork name="" type="" align="left" alt=""><![CDATA[
PRK_h := HKDF-Extract ("key-derivation", zk)
- h := HKDF-Expand (PRK_h, label, 512 / 8)
+ h := HKDF-Expand (PRK_h, label | "gns", 512 / 8)
x_h := h*x mod p
zk_h := h*zk mod p
q := SHA512 (zk_h)