diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-14 12:15:35 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-14 12:25:36 +0200 |
commit | 9e821d21b1a6462b6d6fad288599e76eaa273603 (patch) | |
tree | 8e2e024c43bffcbb78aceb0a9ebc01d7b831e92c /sha3-512sum.c | |
parent | Do not use texman (diff) | |
download | sha3sum-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 'sha3-512sum.c')
-rw-r--r-- | sha3-512sum.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sha3-512sum.c b/sha3-512sum.c new file mode 100644 index 0000000..a5b40e3 --- /dev/null +++ b/sha3-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_sha3((libkeccak_spec_t *)&spec, 512); + return RUN("SHA-3", "sha3-512sum", LIBKECCAK_SHA3_SUFFIX); +} |