aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_state_duplicate.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_state_duplicate.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 'libkeccak_state_duplicate.3')
-rw-r--r--libkeccak_state_duplicate.36
1 files changed, 3 insertions, 3 deletions
diff --git a/libkeccak_state_duplicate.3 b/libkeccak_state_duplicate.3
index dfd0612..ef0bcba 100644
--- a/libkeccak_state_duplicate.3
+++ b/libkeccak_state_duplicate.3
@@ -5,7 +5,7 @@ libkeccak_state_duplicate - Allocate a duplicate hash state
.nf
#include <libkeccak.h>
-libkeccak_state_t *libkeccak_state_duplicate(const libkeccak_state_t *\fIsrc\fP);
+struct libkeccak_state *libkeccak_state_duplicate(const struct libkeccak_state *\fIsrc\fP);
.fi
.PP
Link with
@@ -17,14 +17,14 @@ function allocates a new hash state and initialises it
to be identical to
.IR *src .
This includes all members of the
-.B libkeccak_state_t
+.B struct libkeccak_state
structure, including the state of the sponge and the
message chunk buffer.
.SH RETURN VALUES
The
.BR libkeccak_state_duplicate ()
function returns a newly allocated
-.I libkeccak_state_t*
+.I struct libkeccak_state*
(of one initialised element) upon successful completion.
On error,
.I NULL