aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorJean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>2021-02-19 08:27:11 +0100
committerGitHub <noreply@github.com>2021-02-19 08:27:11 +0100
commit750cdc00bc86b927b0f0667ff781526c3a56df09 (patch)
tree3533de2c8c97de49b7a62eb41fe151ac17bd36f3 /test.c
parenthalfsiphash header + badge (diff)
parenttests (diff)
downloadsiphash-750cdc00bc86b927b0f0667ff781526c3a56df09.tar.gz
siphash-750cdc00bc86b927b0f0667ff781526c3a56df09.tar.xz
Merge pull request #34 from veorq/moretest
more tests and security checks
Diffstat (limited to 'test.c')
-rw-r--r--test.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/test.c b/test.c
index 538996f..cd0cc1e 100644
--- a/test.c
+++ b/test.c
@@ -1,18 +1,20 @@
/*
SipHash reference C implementation
- Copyright (c) 2012-2021 Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>
- Copyright (c) 2012 Daniel J. Bernstein <djb@cr.yp.to>
+ 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"
-#include "siphash.h"
#include "halfsiphash.h"
+#include "siphash.h"
+#include "vectors.h"
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
@@ -36,8 +38,8 @@ const char *functions[4] = {
};
const char *labels[4] = {
- "SipHash-2-4-64",
- "SipHash-2-4-128",
+ "SipHash-2-4-64",
+ "SipHash-2-4-128",
"HalfSipHash-2-4-32",
"HalfSipHash-2-4-64",
};