aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-02-10 18:08:01 +0100
committerMattias Andrée <maandree@kth.se>2017-02-10 18:08:01 +0100
commit94202542da16dc4d3b0f9b6fdf951a590d4075b1 (patch)
tree5585cc5da7472d3605a55c528b326d96f0f71dda /doc/man
parentmakefile: install man pages (diff)
downloadlibkeccak-94202542da16dc4d3b0f9b6fdf951a590d4075b1.tar.gz
libkeccak-94202542da16dc4d3b0f9b6fdf951a590d4075b1.tar.bz2
libkeccak-94202542da16dc4d3b0f9b6fdf951a590d4075b1.tar.xz
m + add examples to info manual1.1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--doc/man/libkeccak_behex_lower.32
-rw-r--r--doc/man/libkeccak_spec_rawshake.32
-rw-r--r--doc/man/libkeccak_spec_sha3.34
-rw-r--r--doc/man/libkeccak_spec_shake.32
-rw-r--r--doc/man/libkeccak_squeeze.32
5 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/libkeccak_behex_lower.3 b/doc/man/libkeccak_behex_lower.3
index 6c06af9..85bc843 100644
--- a/doc/man/libkeccak_behex_lower.3
+++ b/doc/man/libkeccak_behex_lower.3
@@ -27,7 +27,7 @@ hexadecimal representation in
will be terminated by a NUL-character.
.PP
The
-.I In
+.I n
parameter specifies the number of bytes
the binary hashsum is comprised.
.I output
diff --git a/doc/man/libkeccak_spec_rawshake.3 b/doc/man/libkeccak_spec_rawshake.3
index a7c7fce..6f60c36 100644
--- a/doc/man/libkeccak_spec_rawshake.3
+++ b/doc/man/libkeccak_spec_rawshake.3
@@ -33,7 +33,7 @@ The
.BR libkeccak_spec_rawshake ()
function cannot fail.
.SH EXAMPLE
-This examples configure a
+This example configure a
.B libkeccak_spec_t
to specify the Keccak parameters used for RawSHAKE256(, 512):
.LP
diff --git a/doc/man/libkeccak_spec_sha3.3 b/doc/man/libkeccak_spec_sha3.3
index 7978e6e..8e07a7d 100644
--- a/doc/man/libkeccak_spec_sha3.3
+++ b/doc/man/libkeccak_spec_sha3.3
@@ -31,8 +31,8 @@ The
.BR libkeccak_spec_sha3 ()
function cannot fail.
.SH EXAMPLE
-This examples configure a
-.B Blibkeccak_spec_t
+This example configure a
+.B libkeccak_spec_t
to specify the Keccak parameters used for SHA3-256:
.LP
.nf
diff --git a/doc/man/libkeccak_spec_shake.3 b/doc/man/libkeccak_spec_shake.3
index 692897f..9e2d763 100644
--- a/doc/man/libkeccak_spec_shake.3
+++ b/doc/man/libkeccak_spec_shake.3
@@ -32,7 +32,7 @@ The
.BR libkeccak_spec_shake ()
function cannot fail.
.SH EXAMPLE
-This examples configure a
+This example configure a
.B libkeccak_spec_t
to specify the Keccak parameters used for SHAKE256(, 512):
.LP
diff --git a/doc/man/libkeccak_squeeze.3 b/doc/man/libkeccak_squeeze.3
index eafbc65..c6c8d01 100644
--- a/doc/man/libkeccak_squeeze.3
+++ b/doc/man/libkeccak_squeeze.3
@@ -27,7 +27,7 @@ has the same requirement as for the
and
.BR libkeccak_fast_digest (3)
functions: it must have an allocation size of at least
-.RI (( Istate->n
+.RI (( state->n
+ 7) / 8) bytes. However, it may not be
.IR NULL .
.SH RETURN VALUES