aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_hash_file.c
diff options
context:
space:
mode:
authorWillow Liquorice <willow@howhill.com>2022-08-28 17:15:36 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2022-08-30 09:42:13 +0200
commit1824ffe4572eabd9aded862457c2b99f7f94670f (patch)
tree2eda13e566e35e10fadcd79123f4ed081d33b800 /src/util/crypto_hash_file.c
parent0a753e402096e48133abb723e35d4f83eede9a91 (diff)
downloadgnunet-1824ffe4572eabd9aded862457c2b99f7f94670f.tar.gz
gnunet-1824ffe4572eabd9aded862457c2b99f7f94670f.zip
-DOC: First pass through GNUnet crypto
Diffstat (limited to 'src/util/crypto_hash_file.c')
-rw-r--r--src/util/crypto_hash_file.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/util/crypto_hash_file.c b/src/util/crypto_hash_file.c
index 8e46d71fd..42056fb38 100644
--- a/src/util/crypto_hash_file.c
+++ b/src/util/crypto_hash_file.c
@@ -164,16 +164,6 @@ file_hash_task (void *cls)
164} 164}
165 165
166 166
167/**
168 * Compute the hash of an entire file.
169 *
170 * @param priority scheduling priority to use
171 * @param filename name of file to hash
172 * @param blocksize number of bytes to process in one task
173 * @param callback function to call upon completion
174 * @param callback_cls closure for @a callback
175 * @return NULL on (immediate) error
176 */
177struct GNUNET_CRYPTO_FileHashContext * 167struct GNUNET_CRYPTO_FileHashContext *
178GNUNET_CRYPTO_hash_file (enum GNUNET_SCHEDULER_Priority priority, 168GNUNET_CRYPTO_hash_file (enum GNUNET_SCHEDULER_Priority priority,
179 const char *filename, 169 const char *filename,