aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_fast_digest.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-11 16:57:26 +0100
committerMattias Andrée <maandree@kth.se>2019-02-11 16:57:54 +0100
commit3547923d8653d72fe8a6a305107ed2e5dca6577c (patch)
treeaa08e3ca8cb8d7f7b64126a6687af4abbe0994ef /libkeccak_fast_digest.3
parentSplit most .c files into one per function and flatten file hierarchy (diff)
downloadlibkeccak-3547923d8653d72fe8a6a305107ed2e5dca6577c.tar.gz
libkeccak-3547923d8653d72fe8a6a305107ed2e5dca6577c.tar.bz2
libkeccak-3547923d8653d72fe8a6a305107ed2e5dca6577c.tar.xz
Deprecate typedefs
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libkeccak_fast_digest.36
1 files changed, 3 insertions, 3 deletions
diff --git a/libkeccak_fast_digest.3 b/libkeccak_fast_digest.3
index 9e9c1f3..149b023 100644
--- a/libkeccak_fast_digest.3
+++ b/libkeccak_fast_digest.3
@@ -6,7 +6,7 @@ libkeccak_fast_digest - Complete the hashing of a message without erasure
.nf
#include <libkeccak.h>
-int libkeccak_fast_digest(libkeccak_state_t *\fIstate\fP, const void *\fImsg\fP, size_t \fImsglen\fP,
+int libkeccak_fast_digest(struct libkeccak_state *\fIstate\fP, const void *\fImsg\fP, size_t \fImsglen\fP,
size_t \fIbits\fP, const char *\fIsuffix\fP, void *\fIhashsum\fP);
.fi
.P
@@ -98,8 +98,8 @@ hash of the input from stdin, and prints the hash, in hexadecimal
form, to stdout.
.PP
.nf
-libkeccak_state_t state;
-libkeccak_spec_t spec;
+struct libkeccak_state state;
+struct libkeccak_spec spec;
char binhash[256 / 8];
char hexhash[256 / 8 * 2 + 1];
char chunk[4 << 10];