Jean-Philippe Aumasson
566f3f9c0d
Merge pull request #24 from altendky/separate_test_and_main
...
Separate test function and main()
2019-09-22 06:15:18 -04:00
Kyle Altendorf
84ec6d2c74
Separate test function and main()
...
This allows for inclusion of the test function/file in a program with an
existing main(). This is an isolated piece of #19 .
2019-09-21 16:12:31 -04:00
Jean-Philippe Aumasson
42efb6c384
Merge pull request #21 from altendky/full_siphash_format_specifiers
...
Use size_t and fixed width format specifiers for printf()... for siphash.c
2019-09-19 19:10:29 -04:00
Kyle Altendorf
3a47a40cc5
Correct \ alignment
2019-09-18 12:00:52 -04:00
Kyle Altendorf
5a8b62a6f8
Use size_t and fixed width format specifiers for printf()... for siphash.c
...
It was forgotten in #17 to apply this to siphash.c as well as halfsiphash.c. Note
that as-is this does change to a single 16-hex-char string for v0/1/2/3 in debug
output rather than having 8 then a space then 8. If preferred it can be changed
back to having the space and using `PRIx32` twice instead of `PRIx64` once.
2019-09-18 11:57:02 -04:00
Jean-Philippe Aumasson
b718d6107f
Merge pull request #17 from altendky/format_specifiers
...
Use size_t and fixed width format specifiers for printf()
2019-09-14 12:43:31 +02:00
Kyle Altendorf
4194687aba
Use size_t and fixed with format specifiers for printf()
2019-09-13 23:02:54 -04:00
Jean-Philippe Aumasson
1512ba4576
Merge pull request #15 from altendky/makefile_rounds_parameters
...
Make *c* and *d* rounds less intrusively configurable
2019-09-13 20:40:30 +02:00
Kyle Altendorf
e802f9cc56
Make *c* and *d* rounds less intrusively configurable
2019-09-10 08:43:23 -04:00
Jean-Philippe Aumasson
61faf151b8
Merge pull request #13 from altendky/use_UINTxx_C_macros
...
Use UINTxx_C() macros for 'large' constants
2019-09-10 07:57:36 +02:00
Jean-Philippe Aumasson
9c458a5266
Merge pull request #12 from altendky/remove_duplicated_U32TO8_LE
...
Remove duplicated U32TO8_LE() macro definition
2019-09-10 07:57:13 +02:00
Jean-Philippe Aumasson
211f8f763f
Merge pull request #14 from altendky/avoid_unused_variable_fails_warnings
...
Avoid unused variable fails warnings
2019-09-10 07:55:58 +02:00
Kyle Altendorf
b964bf6b1f
Remove unneded #ifndef GETVECTORS check
2019-09-09 16:14:42 -04:00
Kyle Altendorf
baaa8edbfb
Avoid warnings about unused variable fails
...
test.c: In function ‘main’:
test.c:49:9: warning: variable ‘fails’ set but not used [-Wunused-but-set-variable]
int fails = 0;
^~~~~
2019-09-09 16:10:20 -04:00
Kyle Altendorf
42d5822699
Use UINTxx_C() macros for 'large' constants
2019-09-09 15:35:03 -04:00
Kyle Altendorf
2d25b35c98
Remove duplicated U32TO8_LE() macro definition
2019-09-09 15:13:44 -04:00
JP Aumasson
8e6e4c1e5b
d/experimental
2017-02-24 14:53:01 +01:00
JP Aumasson
8bdd0a4385
Merge pull request #7 from dchest/halfvectors
...
Update test vectors for HalfSipHash
2017-01-06 07:21:00 +01:00
Dmitry Chestnykh
1da3c721da
Update test vectors for HalfSipHash
...
PR #6 fixed an issue that requires generating new test vectors.
2017-01-05 17:50:37 +01:00
JP Aumasson
7a9d53a81d
Merge pull request #6 from zx2c4/master
...
halfsiphash: 4 byte chunks, not 8, so compute leftover correctly
2016-12-25 16:10:12 +01:00
Jason A. Donenfeld
bbca6c961f
halfsiphash: 4 byte chunks, not 8, so compute leftover correctly
2016-12-21 21:12:46 +01:00
JP Aumasson
93ca99dcfa
autogen vectors, tweaked hsiphash
2016-12-17 14:14:22 +01:00
JP Aumasson
7ce7f04709
chaskey constants
2016-12-16 17:14:34 +01:00
JP Aumasson
f98f5fedc5
bugfix
2016-12-16 17:04:42 +01:00
JP Aumasson
4ead64de47
experimental
2016-12-16 09:05:05 +01:00
JP Aumasson
8388cbe24f
readme
2016-12-16 09:04:05 +01:00
JP Aumasson
c03e6bbf66
comments on 128b security
2016-02-29 09:53:08 +01:00
JP Aumasson
84f1955472
recover deleted files
2016-01-20 09:00:45 -05:00
JP Aumasson
adcbf09b16
reformat
2015-10-20 22:53:53 +02:00
JP Aumasson
1b85a33b71
formatting
2014-11-19 16:12:54 +01:00
JP Aumasson
8205ba01eb
details
2014-11-19 16:03:16 +01:00
JP Aumasson
76342eb3aa
factored dbg traces
2014-11-19 15:59:29 +01:00
JP Aumasson
a81a6663ed
consistent types
2014-11-09 13:57:48 +01:00
JP Aumasson
d884b5463c
typo
2014-11-08 22:53:08 +01:00
JP Aumasson
bd07457f34
experimental 128-bit mode
2014-11-08 18:43:13 +01:00
JP Aumasson
e27b7c76db
ip statement
2014-05-02 08:08:27 +02:00
JP Aumasson
085171ce7f
copyright
2014-03-24 15:47:11 +01:00
JP Aumasson
e678534ed2
no $
2014-03-24 08:46:57 +01:00
JP Aumasson
9cb8888dff
test tweaks
2014-03-23 18:03:51 +01:00
JP Aumasson
2d4d778ffd
usage instructions
2014-03-23 14:01:33 +01:00
JP Aumasson
b2aa08fdd3
make dist
2014-03-23 13:41:25 +01:00
JP Aumasson
d39aafe416
code formatting
2014-03-23 12:22:30 +01:00
JP Aumasson
e1e923ecef
code and readme
2014-03-23 11:53:31 +01:00
JP Aumasson
43c6e0bf44
Initial commit
2014-03-23 02:51:00 -07:00