diff options
author | Mattias Andrée <maandree@kth.se> | 2019-02-10 17:10:20 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-02-10 17:11:30 +0100 |
commit | 32a5ae4e65844615cb3e32aaefcdb7abe4af54c9 (patch) | |
tree | 0ecfa02766944f2568b184d8d5a8ba0edc71425f /libsha2_sum_fd.3 | |
parent | Use lowest bits rather than highest bits in complete byte, document this, and add tests (diff) | |
download | libsha2-32a5ae4e65844615cb3e32aaefcdb7abe4af54c9.tar.gz libsha2-32a5ae4e65844615cb3e32aaefcdb7abe4af54c9.tar.bz2 libsha2-32a5ae4e65844615cb3e32aaefcdb7abe4af54c9.tar.xz |
Add HMAC and use void * instead of char * for binary data
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libsha2_sum_fd.3')
-rw-r--r-- | libsha2_sum_fd.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsha2_sum_fd.3 b/libsha2_sum_fd.3 index 82bff15..8f243c3 100644 --- a/libsha2_sum_fd.3 +++ b/libsha2_sum_fd.3 @@ -14,7 +14,7 @@ enum libsha2_algorithm { LIBSHA2_512_256 /* SHA-512/256 */ }; -int libsha2_sum_fd(int \fIfd\fP, enum libsha2_algorithm \fIalgorithm\fP, char *restrict \fIhashsum\fP); +int libsha2_sum_fd(int \fIfd\fP, enum libsha2_algorithm \fIalgorithm\fP, void *restrict \fIhashsum\fP); .fi .PP Link with |