REST/NAMESTORE: rework API
[oweals/gnunet.git] / src / reclaim / oidc_helper.c
index 89e0920f000301cd6703190e251b759975f8e99b..167ee1729fc1600ffdd07877344f974950ea010a 100644 (file)
@@ -303,16 +303,16 @@ derive_aes_key (struct GNUNET_CRYPTO_SymmetricSessionKey *key,
                      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);
 }