aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man/libkeccak_generalised_sum_fd.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-06 16:09:31 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-06 16:10:18 +0200
commitbe0ef12ca3bd2c5d81b4cb8d978e20d8f2d20687 (patch)
treef4bc395108762aff3ae13cc1d66f2f4f44249c39 /doc/man/libkeccak_generalised_sum_fd.3
parentadd libkeccak_generalised_sum_fd.3 (diff)
downloadlibkeccak-be0ef12ca3bd2c5d81b4cb8d978e20d8f2d20687.tar.gz
libkeccak-be0ef12ca3bd2c5d81b4cb8d978e20d8f2d20687.tar.bz2
libkeccak-be0ef12ca3bd2c5d81b4cb8d978e20d8f2d20687.tar.xz
add libkeccak_keccaksum_fd.3, libkeccak_rawshakesum_fd.3, libkeccak_sha3sum_fd.3, and libkeccak_shakesum_fd.3 + m libkeccak_generalised_sum_fd.3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/man/libkeccak_generalised_sum_fd.3')
-rw-r--r--doc/man/libkeccak_generalised_sum_fd.35
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/man/libkeccak_generalised_sum_fd.3 b/doc/man/libkeccak_generalised_sum_fd.3
index 2518cc0..ac50e10 100644
--- a/doc/man/libkeccak_generalised_sum_fd.3
+++ b/doc/man/libkeccak_generalised_sum_fd.3
@@ -25,7 +25,7 @@ The hash is stored in binary form to \fIhashsum\fP. \fIhashsum\fP
should have an allocation size of at least
(((\fIspec->output\fP + 7) / 8) * sizeof(char)).
.PP
-\fI*state\fP should not be allocated.
+\fI*state\fP should not be initialised.
.BR libkeccak_generalised_sum_fd ()
initialises \fI*state\fP itself. Therefore there would be a
memory leak if \fI*state\fP is already initialised.
@@ -65,6 +65,9 @@ does not stop if interrupted (\fBread\fP(2) returns
.BR libkeccak_generalised_sum_fd ()
assumes all information is non-sensitive, and will
therefore not perform any secure erasure of information.
+.PP
+.BR libkeccak_generalised_sum_fd ()
+does not validate the tuning of the algorithm.
.SH EXAMPLES
This example calculates the Keccak[b = 1024, c = 576, n = 256]
hash of the input from stdin, and prints the hash, in hexadecimal