aboutsummaryrefslogtreecommitdiffstats
path: root/sum_fd.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-07 15:21:06 +0200
committerMattias Andrée <maandree@kth.se>2022-07-07 15:21:06 +0200
commit2b417525c4eb152bb6f5c4bb845c3c0ecccd456e (patch)
tree5ec474f9aff7656e393ce1a2c32473ba99daa772 /sum_fd.c
parentInline the output size functions (diff)
downloadlibsha2-2b417525c4eb152bb6f5c4bb845c3c0ecccd456e.tar.gz
libsha2-2b417525c4eb152bb6f5c4bb845c3c0ecccd456e.tar.bz2
libsha2-2b417525c4eb152bb6f5c4bb845c3c0ecccd456e.tar.xz
Remove documentation from .c files that already exist in .h files
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--sum_fd.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sum_fd.c b/sum_fd.c
index f93d20c..fed3bed 100644
--- a/sum_fd.c
+++ b/sum_fd.c
@@ -2,15 +2,6 @@
#include "common.h"
-/**
- * Calculate the checksum for a file,
- * the content of the file is assumed non-sensitive
- *
- * @param fd The file descriptor of the file
- * @param algorithm The hashing algorithm
- * @param hashsum Output buffer for the hash
- * @return Zero on success, -1 on error
- */
int
libsha2_sum_fd(int fd, enum libsha2_algorithm algorithm, void *restrict hashsum)
{