gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: GNS: Fix EdDSA test vector nonce


From: gnunet
Subject: [gnunet] branch master updated: GNS: Fix EdDSA test vector nonce
Date: Tue, 04 Jul 2023 10:57:33 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 203fc41d3 GNS: Fix EdDSA test vector nonce
203fc41d3 is described below

commit 203fc41d39ce7e5823a0ca6f2621ebfc2d95747c
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Tue Jul 4 10:57:13 2023 +0200

    GNS: Fix EdDSA test vector nonce
---
 src/gnsrecord/gnunet-gnsrecord-tvg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gnsrecord/gnunet-gnsrecord-tvg.c 
b/src/gnsrecord/gnunet-gnsrecord-tvg.c
index d7d9d5350..eebbedf21 100644
--- a/src/gnsrecord/gnunet-gnsrecord-tvg.c
+++ b/src/gnsrecord/gnunet-gnsrecord-tvg.c
@@ -401,7 +401,7 @@ run_edkey (struct GNUNET_GNSRECORD_Data *rd, int rd_count, 
const char*label)
   print_bytes (&derived_key, sizeof (derived_key), 8);
   printf ("\n");
   printf ("nonce := SHA-256 (dh[32..63] || h):\n");
-  print_bytes (&derived_privkey + 32, sizeof (derived_privkey) - 32, 8);
+  print_bytes (derived_privkey.s + 32, 32, 8);
   printf ("\n");
   char derived_privkeyNBO[32];
   /* Convert from little endian */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]