summaryrefslogtreecommitdiff
path: root/src/gnsrecord/gnsrecord_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnsrecord/gnsrecord_crypto.c')
-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),