[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lsd0001] branch master updated: nonce length fix
From: |
gnunet |
Subject: |
[lsd0001] branch master updated: nonce length fix |
Date: |
Sat, 01 May 2021 23:09:56 +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 12b82df nonce length fix
12b82df is described below
commit 12b82dffcb8e21458fb16f37d907527ca756ab68
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Sat May 1 23:07:44 2021 +0200
nonce length fix
---
draft-schanzen-gns.xml | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/draft-schanzen-gns.xml b/draft-schanzen-gns.xml
index e1cbe6a..8d4b7f0 100644
--- a/draft-schanzen-gns.xml
+++ b/draft-schanzen-gns.xml
@@ -771,18 +771,13 @@ NONCE := HKDF-Expand (PRK_n, label, 32 / 8)
<xref target="RFC5869" />. Specifically, HMAC-SHA512 is used for the
extraction phase and HMAC-SHA256 for the expansion phase.
The output keying material is 32 octets (256 bits) for the symmetric
- key and 4 octets (32 bits) for the NONCE.
- The symmetric key "K" is a 256-bit ChaCha20
- <xref target="RFC7539" /> key.
+ key and 16 octets (128 bits) for the NONCE.
+ The symmetric key "K" is a 256-bit XSalsa20
+ <xref target="XSalsa20" /> key.
No additional authenticated data (AAD) is used.
</t>
<t>
- The nonce is combined with a 64-bit initialization vector and a
- 32-bit block counter.
- The block counter begins with the value of 1, and it is incremented
- to generate subsequent portions of the key stream.
- The block counter is a 32-bit integer value treated as a 32-bit
- little-endian integer.
+ The nonce is combined with an 8 octet initialization vector.
The initialization vector is the expiration time of the
resource record block in network byte order.
The resulting counter ("IV") wire format is as follows:
--
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: nonce length fix,
gnunet <=