aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man/libkeccak_state_destroy.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-06 18:06:25 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-06 18:06:25 +0200
commitd2dd4dd1a5726b1382401bedfa5fde9b0719595f (patch)
treeee9263532072aa61a132876e5189a9a95e7841c9 /doc/man/libkeccak_state_destroy.3
parentadd libkeccak_state_reset.3 (diff)
downloadlibkeccak-d2dd4dd1a5726b1382401bedfa5fde9b0719595f.tar.gz
libkeccak-d2dd4dd1a5726b1382401bedfa5fde9b0719595f.tar.bz2
libkeccak-d2dd4dd1a5726b1382401bedfa5fde9b0719595f.tar.xz
add libkeccak_state_destroy.3 and libkeccak_state_fast_destroy.3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/man/libkeccak_state_destroy.3')
-rw-r--r--doc/man/libkeccak_state_destroy.339
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/man/libkeccak_state_destroy.3 b/doc/man/libkeccak_state_destroy.3
new file mode 100644
index 0000000..9ea81fa
--- /dev/null
+++ b/doc/man/libkeccak_state_destroy.3
@@ -0,0 +1,39 @@
+.TH LIBKECCAK_STATE_DESTROY 3 LIBKECCAK-%VERSION%
+.SH NAME
+libkeccak_state_destroy - Destroys a hash state with erasure
+.SH SYNOPSIS
+.LP
+.nf
+#include <libkeccak.h>
+.P
+void libkeccak_state_destroy(libkeccak_state_t *\fIstate\fP);
+.fi
+.P
+Link with \fI-lkeccak\fP.
+.SH DESCRIPTION
+The
+.BR libkeccak_state_destroy ()
+function releases the allocations stored in \fI*state\fP,
+without releasing the allocation of \fIstate\fP itself.
+.PP
+The
+.BR libkeccak_state_destroy ()
+function securely erases sensitive data.
+.SH RETURN VALUES
+The
+.BR libkeccak_state_destroy ()
+function does not return any value.
+.SH ERRORS
+The
+.BR libkeccak_state_destroy ()
+function cannot fail.
+.SH SEE ALSO
+.BR libkeccak_state_fast_destroy (3),
+.BR libkeccak_state_initialise (3),
+.BR libkeccak_state_reset (3)
+.SH AUTHORS
+Principal author, Mattias Andrée. See the LICENSE file for the full
+list of authors.
+.SH BUGS
+Please report bugs to https://github.com/maandree/libkeccak/issues or to
+maandree@member.fsf.org