diff options
author | Mattias Andrée <maandree@kth.se> | 2019-02-10 23:19:58 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-02-10 23:19:58 +0100 |
commit | c461a856bc3bca4b1190cf46a1d8a4f401f79b5c (patch) | |
tree | dae918632e8bfc1f3d0c23f00a23e7c2e68db4ef /man3/libkeccak_hmac_digest.3 | |
parent | Add test from github issue #10 (diff) | |
download | libkeccak-c461a856bc3bca4b1190cf46a1d8a4f401f79b5c.tar.gz libkeccak-c461a856bc3bca4b1190cf46a1d8a4f401f79b5c.tar.bz2 libkeccak-c461a856bc3bca4b1190cf46a1d8a4f401f79b5c.tar.xz |
General API improvements
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | man3/libkeccak_hmac_digest.3 | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/man3/libkeccak_hmac_digest.3 b/man3/libkeccak_hmac_digest.3 index 66d35d4..99e460a 100644 --- a/man3/libkeccak_hmac_digest.3 +++ b/man3/libkeccak_hmac_digest.3 @@ -2,16 +2,13 @@ .SH NAME libkeccak_hmac_digest - Complete the HMAC-hashing of a message with erasure .SH SYNOPSIS -.LP .nf #include <libkeccak.h> -.P -int -libkeccak_hmac_digest(libkeccak_hmac_state_t *\fIstate\fP, const char *\fImsg\fP, - size_t \fImsglen\fP, size_t \fIbits\fP, const char *\fIsuffix\fP, - char *\fIhashsum\fP); + +int libkeccak_hmac_digest(libkeccak_hmac_state_t *\fIstate\fP, const void *\fImsg\fP, size_t \fImsglen\fP, + size_t \fIbits\fP, const char *\fIsuffix\fP, void *\fIhashsum\fP); .fi -.P +.PP Link with .IR -lkeccak . .SH DESCRIPTION @@ -54,7 +51,7 @@ to the message. If this string is empty, may be used instead. This is used to select hash algorithm. For pure Keccak, .I NULL -or "" is used. For the other algorithms the constants +or \(dq\(dq is used. For the other algorithms the constants .B LIBKECCAK_SHA3_SUFFIX (for SHA-3), .B LIBKECCAK_RAWSHAKE_SUFFIX @@ -98,6 +95,3 @@ function may fail for any reason specified by the function .BR libkeccak_hmac_initialise (3), .BR libkeccak_hmac_update (3), .BR libkeccak_hmac_fast_digest (3) -.SH BUGS -Please report bugs to https://github.com/maandree/libkeccak/issues or to -maandree@kth.se |