aboutsummaryrefslogtreecommitdiffstats
path: root/rawshake256sum.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-14 12:15:35 +0200
committerMattias Andrée <maandree@kth.se>2017-10-14 12:25:36 +0200
commit9e821d21b1a6462b6d6fad288599e76eaa273603 (patch)
tree8e2e024c43bffcbb78aceb0a9ebc01d7b831e92c /rawshake256sum.c
parentDo not use texman (diff)
downloadsha3sum-9e821d21b1a6462b6d6fad288599e76eaa273603.tar.gz
sha3sum-9e821d21b1a6462b6d6fad288599e76eaa273603.tar.bz2
sha3sum-9e821d21b1a6462b6d6fad288599e76eaa273603.tar.xz
Simplify makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'rawshake256sum.c')
-rw-r--r--rawshake256sum.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/rawshake256sum.c b/rawshake256sum.c
new file mode 100644
index 0000000..6d6e19a
--- /dev/null
+++ b/rawshake256sum.c
@@ -0,0 +1,11 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+int
+main(int argc, char *argv[])
+{
+ libkeccak_generalised_spec_t spec;
+ libkeccak_generalised_spec_initialise(&spec);
+ libkeccak_spec_rawshake((libkeccak_spec_t *)&spec, 256, 256);
+ return RUN("RawSHAKE", "rawshake256sum", LIBKECCAK_RAWSHAKE_SUFFIX);
+}