aboutsummaryrefslogtreecommitdiffstats
path: root/man3/libkeccak_spec_check.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_check.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 '')
-rw-r--r--man3/libkeccak_spec_check.317
1 files changed, 6 insertions, 11 deletions
diff --git a/man3/libkeccak_spec_check.3 b/man3/libkeccak_spec_check.3
index 9fc70f6..7dd19d8 100644
--- a/man3/libkeccak_spec_check.3
+++ b/man3/libkeccak_spec_check.3
@@ -2,14 +2,12 @@
.SH NAME
libkeccak_spec_check - Validate hashing parameters
.SH SYNOPSIS
-.LP
.nf
#include <libkeccak.h>
-.P
-int
-libkeccak_spec_check(const libkeccak_spec_t *\fIspec\fP);
+
+int libkeccak_spec_check(const libkeccak_spec_t *\fIspec\fP);
.fi
-.P
+.PP
Link with
.IR -lkeccak .
.SH DESCRIPTION
@@ -27,9 +25,9 @@ manually for Keccak hashing.
.PP
.nf
typedef struct libkeccak_spec {
- long int bitrate; /* bitrate (in bits) */
- long int capacity; /* capacity (in bits) */
- long int output; /* output size (in bits) */
+ long int bitrate; /* bitrate (in bits) */
+ long int capacity; /* capacity (in bits) */
+ long int output; /* output size (in bits) */
} libkeccak_spec_t;
.fi
.SH RETURN VALUES
@@ -90,6 +88,3 @@ function cannot fail.
.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