[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: GNS: Fix context strings in key derivati
From: |
gnunet |
Subject: |
[gnunet] branch master updated: GNS: Fix context strings in key derivation according to LSD0001 |
Date: |
Tue, 01 Feb 2022 17:52:36 +0100 |
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 4f07822ff GNS: Fix context strings in key derivation according to
LSD0001
4f07822ff is described below
commit 4f07822ff0f5c13ff6052f531da249363d5116f8
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Tue Feb 1 17:52:33 2022 +0100
GNS: Fix context strings in key derivation according to LSD0001
---
src/gnsrecord/gnsrecord_crypto.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gnsrecord/gnsrecord_crypto.c b/src/gnsrecord/gnsrecord_crypto.c
index 58feaee74..24f4c48ca 100644
--- a/src/gnsrecord/gnsrecord_crypto.c
+++ b/src/gnsrecord/gnsrecord_crypto.c
@@ -159,8 +159,8 @@ GNR_derive_block_xsalsa_key (unsigned char *nonce,
uint64_t exp,
const struct GNUNET_CRYPTO_EddsaPublicKey *pub)
{
- static const char ctx_key[] = "gns-aes-ctx-key";
- static const char ctx_iv[] = "gns-aes-ctx-iv";
+ static const char ctx_key[] = "gns-xsalsa-ctx-key";
+ static const char ctx_iv[] = "gns-xsalsa-ctx-iv";
GNUNET_CRYPTO_kdf (key, crypto_secretbox_KEYBYTES,
ctx_key, strlen (ctx_key),
--
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: GNS: Fix context strings in key derivation according to LSD0001,
gnunet <=