aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_spec_sha3.3
diff options
context:
space:
mode:
Diffstat (limited to 'libkeccak_spec_sha3.3')
-rw-r--r--libkeccak_spec_sha3.36
1 files changed, 3 insertions, 3 deletions
diff --git a/libkeccak_spec_sha3.3 b/libkeccak_spec_sha3.3
index 1320631..701a18a 100644
--- a/libkeccak_spec_sha3.3
+++ b/libkeccak_spec_sha3.3
@@ -5,7 +5,7 @@ libkeccak_spec_sha3 - Configure SHA-3 hashing parameters
.nf
#include <libkeccak.h>
-void libkeccak_spec_sha3(libkeccak_spec_t *\fIspec\fP, long int \fIx\fP);
+void libkeccak_spec_sha3(struct libkeccak_spec *\fIspec\fP, long int \fIx\fP);
.fi
.PP
Link with
@@ -30,11 +30,11 @@ The
function cannot fail.
.SH EXAMPLE
This example configure a
-.B libkeccak_spec_t
+.B struct libkeccak_spec
to specify the Keccak parameters used for SHA3-256:
.PP
.nf
-libkeccak_spec_t spec;
+struct libkeccak_spec spec;
libkeccak_spec_sha3(&spec, 256);
.fi
.SH SEE ALSO