[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lsd0001] branch master updated: fix clamping thx bfix
From: |
gnunet |
Subject: |
[lsd0001] branch master updated: fix clamping thx bfix |
Date: |
Tue, 06 Oct 2020 12:51:17 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository lsd0001.
The following commit(s) were added to refs/heads/master by this push:
new d470174 fix clamping thx bfix
d470174 is described below
commit d470174bc326281c3020252af273181cc58cbf9a
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Tue Oct 6 12:44:21 2020 +0200
fix clamping thx bfix
---
draft-schanzen-gns.xml | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/draft-schanzen-gns.xml b/draft-schanzen-gns.xml
index b439b7b..10c95d0 100644
--- a/draft-schanzen-gns.xml
+++ b/draft-schanzen-gns.xml
@@ -665,10 +665,10 @@ NONCE := HKDF-Expand (PRK_n, label, 32 / 8)
zk := a * G
PRK_h := HKDF-Extract ("key-derivation", zk)
h := HKDF-Expand (PRK_h, label | "gns", 512 / 8)
-h[0] &= 248;
-h[31] &= 127;
-h[31] |= 64;
a' := h * a mod L
+a'[0] &= 248;
+a'[31] &= 127;
+a'[31] |= 64;
]]></artwork>
<t>
Equally, given a label, the output of the HDKD-Public function is
@@ -677,10 +677,11 @@ a' := h * a mod L
<artwork name="" type="" align="left" alt=""><![CDATA[
PRK_h := HKDF-Extract ("key-derivation", zk)
h := HKDF-Expand (PRK_h, label | "gns", 512 / 8)
-h[0] &= 248;
-h[31] &= 127;
-h[31] |= 64;
-zk' := h mod L * zk
+a' = h mod L
+a'[0] &= 248;
+a'[31] &= 127;
+a'[31] |= 64;
+zk' := a' * zk
]]></artwork>
<t>
The EDKEY cryptosystem uses a
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lsd0001] branch master updated: fix clamping thx bfix,
gnunet <=