aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_crypto_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r--src/include/gnunet_crypto_lib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index 507705e50..4a42c5c74 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -655,6 +655,19 @@ GNUNET_CRYPTO_hash (const void *block,
655 655
656 656
657/** 657/**
658 * Calculate the 'proof-of-work' hash (an expensive hash).
659 *
660 * @param buf data to hash
661 * @param buf_len number of bytes in @a buf
662 * @param result where to write the resulting hash
663 */
664void
665GNUNET_CRYPTO_pow_hash (const void *buf,
666 size_t buf_len,
667 struct GNUNET_HashCode *result);
668
669
670/**
658 * Context for cummulative hashing. 671 * Context for cummulative hashing.
659 */ 672 */
660struct GNUNET_HashContext; 673struct GNUNET_HashContext;