diff options
Diffstat (limited to 'src/gnsrecord/gnsrecord_crypto.c')
-rw-r--r-- | src/gnsrecord/gnsrecord_crypto.c | 4 |
1 files 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, | |||
159 | uint64_t exp, | 159 | uint64_t exp, |
160 | const struct GNUNET_CRYPTO_EddsaPublicKey *pub) | 160 | const struct GNUNET_CRYPTO_EddsaPublicKey *pub) |
161 | { | 161 | { |
162 | static const char ctx_key[] = "gns-aes-ctx-key"; | 162 | static const char ctx_key[] = "gns-xsalsa-ctx-key"; |
163 | static const char ctx_iv[] = "gns-aes-ctx-iv"; | 163 | static const char ctx_iv[] = "gns-xsalsa-ctx-iv"; |
164 | 164 | ||
165 | GNUNET_CRYPTO_kdf (key, crypto_secretbox_KEYBYTES, | 165 | GNUNET_CRYPTO_kdf (key, crypto_secretbox_KEYBYTES, |
166 | ctx_key, strlen (ctx_key), | 166 | ctx_key, strlen (ctx_key), |