[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -fix
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -fix |
Date: |
Mon, 03 May 2021 16:36:03 +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 cddca0530 -fix
new 5bb257867 Merge branch 'master' of ssh://gnunet.org/gnunet
cddca0530 is described below
commit cddca0530fdf461607d6c0af908bb527df6193f2
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Mon May 3 16:33:27 2021 +0200
-fix
---
src/util/crypto_ecc_gnsrecord.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/util/crypto_ecc_gnsrecord.c b/src/util/crypto_ecc_gnsrecord.c
index 93bd9907e..59efff8ab 100644
--- a/src/util/crypto_ecc_gnsrecord.c
+++ b/src/util/crypto_ecc_gnsrecord.c
@@ -114,8 +114,8 @@ GNUNET_CRYPTO_eddsa_sign_with_scalar (
* Calculate the derived zone key zk' from the
* derived private scalar.
*/
- crypto_scalarmult_ed25519_base_noclamp (zk,
- sk);
+ crypto_scalarmult_ed25519_base (zk,
+ sk);
/**
* Calculate r:
@@ -163,9 +163,9 @@ GNUNET_CRYPTO_eddsa_sign_with_scalar (
crypto_core_ed25519_scalar_reduce (hram_mod, hram);
/**
- * Calculate
- * S := r + hram * s mod L
- */
+ * Calculate
+ * S := r + hram * s mod L
+ */
crypto_core_ed25519_scalar_mul (tmp, hram_mod, sk);
crypto_core_ed25519_scalar_add (sig->s, tmp, r_mod);
@@ -249,7 +249,7 @@ GNUNET_CRYPTO_ecdsa_public_key_derive (
GNUNET_assert (q);
/* calculate h_mod_n = h % n */
- derive_h (pub, sizeof (pub), label, context, &hc);
+ derive_h (pub, sizeof (*pub), label, context, &hc);
GNUNET_CRYPTO_mpi_scan_unsigned (&h, (unsigned char *) &hc, sizeof(hc));
n = gcry_mpi_ec_get_mpi ("n", ctx, 1);
h_mod_n = gcry_mpi_new (256);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -fix,
gnunet <=