From 9e821d21b1a6462b6d6fad288599e76eaa273603 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 14 Oct 2017 12:15:35 +0200 Subject: Simplify makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- keccak-512sum.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 keccak-512sum.c (limited to 'keccak-512sum.c') diff --git a/keccak-512sum.c b/keccak-512sum.c new file mode 100644 index 0000000..6ba1041 --- /dev/null +++ b/keccak-512sum.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_keccak((libkeccak_spec_t *)&spec, 512); + return RUN("Keccak", "keccak-512sum", LIBKECCAK_KECCAK_SUFFIX); +} -- cgit v1.2.3-70-g09d2