aboutsummaryrefslogtreecommitdiffstats
path: root/libsha2_unmarshal.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-10 17:10:20 +0100
committerMattias Andrée <maandree@kth.se>2019-02-10 17:11:30 +0100
commit32a5ae4e65844615cb3e32aaefcdb7abe4af54c9 (patch)
tree0ecfa02766944f2568b184d8d5a8ba0edc71425f /libsha2_unmarshal.3
parentUse lowest bits rather than highest bits in complete byte, document this, and add tests (diff)
downloadlibsha2-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_unmarshal.3')
-rw-r--r--libsha2_unmarshal.32
1 files changed, 1 insertions, 1 deletions
diff --git a/libsha2_unmarshal.3 b/libsha2_unmarshal.3
index 52fa2d4..3707cc8 100644
--- a/libsha2_unmarshal.3
+++ b/libsha2_unmarshal.3
@@ -5,7 +5,7 @@ libsha2_unmarshal \- Unmarshal a SHA 2 hashing state
.nf
#include <libsha2.h>
-size_t libsha2_unmarshal(struct libsha2_state *restrict \fIstate\fP, const char *restrict \fIbuf\fP, size_t \fIbufsize\fP);
+size_t libsha2_unmarshal(struct libsha2_state *restrict \fIstate\fP, const void *restrict \fIbuf\fP, size_t \fIbufsize\fP);
.fi
.PP
Link with