aboutsummaryrefslogtreecommitdiffstats
path: root/man3/libkeccak_spec_sha3.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-10 23:19:58 +0100
committerMattias Andrée <maandree@kth.se>2019-02-10 23:19:58 +0100
commitc461a856bc3bca4b1190cf46a1d8a4f401f79b5c (patch)
treedae918632e8bfc1f3d0c23f00a23e7c2e68db4ef /man3/libkeccak_spec_sha3.3
parentAdd test from github issue #10 (diff)
downloadlibkeccak-c461a856bc3bca4b1190cf46a1d8a4f401f79b5c.tar.gz
libkeccak-c461a856bc3bca4b1190cf46a1d8a4f401f79b5c.tar.bz2
libkeccak-c461a856bc3bca4b1190cf46a1d8a4f401f79b5c.tar.xz
General API improvements
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man3/libkeccak_spec_sha3.3')
-rw-r--r--man3/libkeccak_spec_sha3.313
1 files changed, 4 insertions, 9 deletions
diff --git a/man3/libkeccak_spec_sha3.3 b/man3/libkeccak_spec_sha3.3
index 8e07a7d..1320631 100644
--- a/man3/libkeccak_spec_sha3.3
+++ b/man3/libkeccak_spec_sha3.3
@@ -2,14 +2,12 @@
.SH NAME
libkeccak_spec_sha3 - Configure SHA-3 hashing parameters
.SH SYNOPSIS
-.LP
.nf
#include <libkeccak.h>
-.P
-void
-libkeccak_spec_sha3(libkeccak_spec_t *\fIspec\fP, long int \fIx\fP);
+
+void libkeccak_spec_sha3(libkeccak_spec_t *\fIspec\fP, long int \fIx\fP);
.fi
-.P
+.PP
Link with
.IR -lkeccak .
.SH DESCRIPTION
@@ -34,7 +32,7 @@ function cannot fail.
This example configure a
.B libkeccak_spec_t
to specify the Keccak parameters used for SHA3-256:
-.LP
+.PP
.nf
libkeccak_spec_t spec;
libkeccak_spec_sha3(&spec, 256);
@@ -46,6 +44,3 @@ libkeccak_spec_sha3(&spec, 256);
.BR libkeccak_generalised_spec_initialise (3),
.BR libkeccak_state_initialise (3),
.BR libkeccak_hmac_initialise (3)
-.SH BUGS
-Please report bugs to https://github.com/maandree/libkeccak/issues or to
-maandree@kth.se