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