Fix perf_crypto_rsa.c after various changes
[oweals/gnunet.git] / src / util / crypto_ecc.c
index 3e9c17c8eb54ee7093acefa0e5d84dd11dc1f5d9..4bba395b32b8fc77a7d5425078ba7bf12ad20b3f 100644 (file)
@@ -1028,9 +1028,10 @@ derive_h (const struct GNUNET_CRYPTO_EcdsaPublicKey *pub,
 {
   gcry_mpi_t h;
   struct GNUNET_HashCode hc;
+  static const char *const salt = "key-derivation";
 
   GNUNET_CRYPTO_kdf (&hc, sizeof (hc),
-                    "key-derivation", strlen ("key-derivation"),
+                    salt, strlen (salt),
                     pub, sizeof (*pub),
                     label, strlen (label),
                     context, strlen (context),