[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lsd0001] branch master updated: fix edkey again
From: |
gnunet |
Subject: |
[lsd0001] branch master updated: fix edkey again |
Date: |
Wed, 09 Feb 2022 08:46:04 +0100 |
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 4c476ec fix edkey again
4c476ec is described below
commit 4c476ec0fae596727ece6a7b7e5b1183818e9a0b
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Wed Feb 9 08:45:58 2022 +0100
fix edkey again
---
draft-schanzen-gns.xml | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/draft-schanzen-gns.xml b/draft-schanzen-gns.xml
index 42f1e4e..961ee7d 100644
--- a/draft-schanzen-gns.xml
+++ b/draft-schanzen-gns.xml
@@ -1287,6 +1287,17 @@ ZKDF-Public(zk,label):
</t>
<artwork name="" type="" align="left" alt=""><![CDATA[
SignDerived(d,label,message):
+ /* Calculate public key */
+ a := SHA-512 (d)
+ a[0] &= 248;
+ a[31] &= 127;
+ a[31] |= 64;
+ zk := a * G
+
+ /* Calculate blinding factor */
+ PRK_h := HKDF-Extract ("key-derivation", zk)
+ h := HKDF-Expand (PRK_h, label | "gns", 512 / 8)
+
d' := ZKDF-Private(d,label)
dh := SHA-512 (d)
nonce := SHA-256 (dh[32..63] | h)
@@ -2934,7 +2945,8 @@ Purpose | Name | References | Comment
<section>
<name>Test Vectors</name>
<t>
-
+ The following are test vectors for the Base32 variation of a
+ Crockford Base32 encoding used for zTLDs.
</t>
<artwork name="" type="" align="left" alt="">
<![CDATA[
--
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 edkey again,
gnunet <=