sizeof (struct GNUNET_CRYPTO_SymmetricSessionKey),
ctx_key,
strlen (ctx_key),
- &key_material,
- sizeof (key_material),
+ key_material,
+ sizeof (struct GNUNET_HashCode),
NULL);
GNUNET_CRYPTO_kdf (iv,
sizeof (
struct GNUNET_CRYPTO_SymmetricInitializationVector),
ctx_iv,
strlen (ctx_iv),
- &key_material,
- sizeof (key_material),
+ key_material,
+ sizeof (struct GNUNET_HashCode),
NULL);
}