aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test.c17
1 files changed, 9 insertions, 8 deletions
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
- <jeanphilippe.aumasson@gmail.com>
+ Copyright (c) 2012-2021 Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>
Copyright (c) 2012 Daniel J. Bernstein <djb@cr.yp.to>
+
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
- <http://creativecommons.org/publicdomain/zero/1.0/>.
+ You should have received a copy of the CC0 Public Domain Dedication along with
+ this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
#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};