aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-10-05 22:31:39 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-10-05 22:31:39 +0200
commit06c45819f1a04987889546eafc60ef36b92d0e0d (patch)
tree98b171fb364236141453fda64019b14cfc21d33c
parentc4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (diff)
downloadgnunet-06c45819f1a04987889546eafc60ef36b92d0e0d.tar.gz
gnunet-06c45819f1a04987889546eafc60ef36b92d0e0d.zip
change define
-rw-r--r--src/gnsrecord/gnsrecord_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnsrecord/gnsrecord_crypto.c b/src/gnsrecord/gnsrecord_crypto.c
index c87adaa1b..b173062ff 100644
--- a/src/gnsrecord/gnsrecord_crypto.c
+++ b/src/gnsrecord/gnsrecord_crypto.c
@@ -59,7 +59,7 @@ derive_block_aes_key (struct GNUNET_CRYPTO_SymmetricInitializationVector *iv,
59 * We use the strings above as salt and the public key as IKM similar to 59 * We use the strings above as salt and the public key as IKM similar to
60 * how derive_h is done in crypto_ecc.c. 60 * how derive_h is done in crypto_ecc.c.
61 */ 61 */
62#ifdef GNUNET_PROTOCOL_V12 62#ifdef LSD001
63 GNUNET_CRYPTO_kdf (skey, sizeof(struct GNUNET_CRYPTO_SymmetricSessionKey), 63 GNUNET_CRYPTO_kdf (skey, sizeof(struct GNUNET_CRYPTO_SymmetricSessionKey),
64 ctx_key, strlen (ctx_key), 64 ctx_key, strlen (ctx_key),
65 pub, sizeof(struct GNUNET_CRYPTO_EcdsaPublicKey), 65 pub, sizeof(struct GNUNET_CRYPTO_EcdsaPublicKey),