aboutsummaryrefslogtreecommitdiffstats
path: root/shake512sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'shake512sum.c')
-rw-r--r--shake512sum.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/shake512sum.c b/shake512sum.c
new file mode 100644
index 0000000..3e24ddb
--- /dev/null
+++ b/shake512sum.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_shake((libkeccak_spec_t *)&spec, 512, 512);
+ return RUN("SHAKE", "shake512sum", LIBKECCAK_SHAKE_SUFFIX);
+}