From 9a19f878e9074faac7350d4638fa5c31eb3e8f7b Mon Sep 17 00:00:00 2001 From: JP Aumasson Date: Mon, 11 Jan 2021 22:06:09 +0100 Subject: readme --- test.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'test.c') diff --git a/test.c b/test.c index 69ad7b8..2c047aa 100644 --- a/test.c +++ b/test.c @@ -1,15 +1,13 @@ /* SipHash reference C implementation - Copyright (c) 2012-2016 Jean-Philippe Aumasson - + Copyright (c) 2012-2021 Jean-Philippe Aumasson Copyright (c) 2012 Daniel J. Bernstein + To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. - You should have received a copy of the CC0 Public Domain Dedication along - with - this software. If not, see - . + You should have received a copy of the CC0 Public Domain Dedication along with + this software. If not, see . */ #include "vectors.h" @@ -27,6 +25,7 @@ int siphash(const uint8_t *in, const size_t inlen, const uint8_t *k, uint8_t *out, const size_t outlen); + int halfsiphash(const uint8_t *in, const size_t inlen, const uint8_t *k, uint8_t *out, const size_t outlen); @@ -38,8 +37,10 @@ const char *functions[4] = { }; const char *labels[4] = { - "SipHash 64-bit tag:", "SipHash 128-bit tag:", "HalfSipHash 32-bit tag:", - "HalfSipHash 64-bit tag:", + "SipHash-2-4-64", + "SipHash-2-4-128", + "HalfSipHash-2-4-32", + "HalfSipHash-2-4-64", }; size_t lengths[4] = {8, 16, 4, 8}; -- cgit v1.2.3