From 94202542da16dc4d3b0f9b6fdf951a590d4075b1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 10 Feb 2017 18:08:01 +0100 Subject: m + add examples to info manual MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/man/libkeccak_behex_lower.3 | 2 +- doc/man/libkeccak_spec_rawshake.3 | 2 +- doc/man/libkeccak_spec_sha3.3 | 4 ++-- doc/man/libkeccak_spec_shake.3 | 2 +- doc/man/libkeccak_squeeze.3 | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/man') 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 -- cgit v1.2.3-70-g09d2