aboutsummaryrefslogtreecommitdiff
path: root/test.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite code, but keeping the exact same semantic and behaviourHEADmainEuAndreh2025-06-041-111/+0
| | | | | | | | | | - assert that the generated `siphash.o` code is identical to the original code, available at `tests/assert-identical.sh`; - remove unneeded `#define`s; - rewrite code with the correct indentation, spacing and formatting; - use C99 constructs over C89 (for loop variable declarations inside the parentheses); - fix the public API.
* typechangeJP Aumasson2021-02-201-3/+0
|
* testsJP Aumasson2021-02-191-8/+10
|
* halfsiphash header + badgeJP Aumasson2021-02-191-3/+2
|
* readmeJP Aumasson2021-01-111-8/+9
|
* Initialize any_failedKyle Altendorf2019-09-221-1/+1
| | | | oops
* Merge branch 'master' into return_for_test_failedKyle Altendorf2019-09-221-1/+1
|\
| * Separate test function and main()Kyle Altendorf2019-09-211-1/+1
| | | | | | | | | | This allows for inclusion of the test function/file in a program with an existing main(). This is an isolated piece of #19.
* | Return non-zero when tests failKyle Altendorf2019-09-211-1/+4
|/ | | | | | | This allows for shell scripts to check for success or failure without parsing the printed output. If the function name is later changed from main() it will also allow other code calling the tests to also easily check the pass or fail status.
* Remove unneded #ifndef GETVECTORS checkKyle Altendorf2019-09-091-2/+0
|
* Avoid warnings about unused variable failsKyle Altendorf2019-09-091-1/+6
| | | | | | | test.c: In function ‘main’: test.c:49:9: warning: variable ‘fails’ set but not used [-Wunused-but-set-variable] int fails = 0; ^~~~~
* autogen vectors, tweaked hsiphashJP Aumasson2016-12-171-349/+75
|
* chaskey constantsJP Aumasson2016-12-161-128/+129
|
* bugfixJP Aumasson2016-12-161-64/+64
|
* readmeJP Aumasson2016-12-161-0/+379