use new POW function consistently, also in revocation
[oweals/gnunet.git] / src / include / gnunet_crypto_lib.h
index 4a42c5c74e6adad0d4debb9f19ef11e90809ea87..00fe3fbef86458ba3ca65bff2aa9574ffab7165a 100644 (file)
@@ -657,12 +657,14 @@ GNUNET_CRYPTO_hash (const void *block,
 /**
  * Calculate the 'proof-of-work' hash (an expensive hash).
  *
+ * @param salt salt to use in pow calculation
  * @param buf data to hash
  * @param buf_len number of bytes in @a buf
  * @param result where to write the resulting hash
  */
 void
-GNUNET_CRYPTO_pow_hash (const void *buf,
+GNUNET_CRYPTO_pow_hash (const char *salt,
+                        const void *buf,
                         size_t buf_len,
                         struct GNUNET_HashCode *result);