aboutsummaryrefslogtreecommitdiffstats
path: root/sum_fd.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-07 14:08:29 +0200
committerMattias Andrée <maandree@kth.se>2022-07-07 14:08:29 +0200
commit756128a662c619f47c27ef2ba228f96b9c63be29 (patch)
tree94c98676b4894d2a75f360267a0419af3c800231 /sum_fd.c
parentInline some output size functions (diff)
downloadlibsha1-756128a662c619f47c27ef2ba228f96b9c63be29.tar.gz
libsha1-756128a662c619f47c27ef2ba228f96b9c63be29.tar.bz2
libsha1-756128a662c619f47c27ef2ba228f96b9c63be29.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 'sum_fd.c')
-rw-r--r--sum_fd.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sum_fd.c b/sum_fd.c
index a61bf71..73a5a5a 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
libsha1_sum_fd(int fd, enum libsha1_algorithm algorithm, void *restrict hashsum)
{