Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2025-06-04 | Rewrite code, but keeping the exact same semantic and behaviourHEADmain | EuAndreh | 1 | -0/+78 | |
- 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. | |||||
2025-03-20 | Add complete "Makefile" for standard packaging | EuAndreh | 2 | -0/+47 | |
Also include a ".gitignore" with the derived assets. --- On the "Makefile", the canonical virtual targets implemented are: - "all": the default target name when no explicit name is given, or when one wants to build more than one target at once, such as: `make all check`. All it builds is the "libsiphash.a" library; - "check": NOOP, as there are no tests implemented; - "clean": removes the "*.o", "*.bin" and "libsiphash.a" files, which represent 100% of the generated assets; - "install": uses `$(DESTDIR)`, `$(LIBDIR)`, `$(INCLUDEDIR)` and `$(SRCDIR)` to properly place the "libsiphash.a" library, the "siphash.h" header and the "siphash.c" source in the correct place. `$(LIBDIR)`, `$(INCLUDEDIR)` and `$(SRCDIR)` are defined based on `$(PREFIX)`; - "uninstall": a perfect mirror of "install", which removes 100% of the installed artifacts. | |||||
2025-03-20 | Remove support files | EuAndreh | 5 | -420/+0 | |
2024-05-17 | x | JP | 1 | -1/+1 | |
2024-05-17 | LLVM-compatible license | JP | 2 | -1/+225 | |
2023-02-25 | ip | JP Aumasson | 1 | -0/+4 | |
2022-10-22 | comments | JP Aumasson | 3 | -3/+19 | |
2022-10-22 | duallicense | JP Aumasson | 3 | -0/+9 | |
2022-08-17 | SipHash works on ESP8266 running FreeRTOS. So Update the README on OS support | Dev | 1 | -1/+1 | |
2022-07-28 | debug symbol fix | JP Aumasson | 1 | -1/+1 | |
2022-01-20 | fix typo: clarify -> clarity | Nihal Jere | 1 | -1/+1 | |
2022-01-12 | only include stdio when used | Nihal Jere | 2 | -2/+4 | |
2021-11-11 | Rename `DEBUG` to `DEBUG_SIPHASH` | Jens Alfke | 2 | -2/+2 | |
`DEBUG` is too generic a name to use for a flag that causes SipHash to log to the console on every hash operation; changed it to `DEBUG_SIPHASH`. An example: Xcode's project templates have a `-DDEBUG=1` Clang flag in the 'Debug' config, so nearly every iOS and macOS app defines DEBUG in dev builds! When I (@snej) added SipHash to my Mac project, I started getting huge amounts of console logs until I found and renamed its `#ifdef DEBUG`. | |||||
2021-10-31 | https | JP Aumasson | 1 | -1/+1 | |
2021-10-31 | halfsh header, cleanup | JP Aumasson | 1 | -2/+1 | |
2021-10-13 | -Wimplicit-fallthrough=4 compliance | Přemysl Eric Janouch | 2 | -0/+8 | |
2021-06-06 | Fix link to hash-flooding DOS attack slides | Max Davitt | 1 | -1/+1 | |
2021-03-12 | consts | JP Aumasson | 2 | -6/+6 | |
2021-02-20 | typechange | JP Aumasson | 6 | -31/+36 | |
2021-02-19 | tests | JP Aumasson | 7 | -728/+2726 | |
2021-02-19 | halfsiphash header + badge | JP Aumasson | 4 | -3/+29 | |
2021-01-19 | fixes | JP Aumasson | 2 | -59/+62 | |
2021-01-19 | header | JP Aumasson | 2 | -62/+83 | |
2021-01-11 | ignore bins | JP Aumasson | 1 | -0/+5 | |
2021-01-11 | formatting | Jean-Philippe Aumasson | 1 | -3/+3 | |
2021-01-11 | readme | JP Aumasson | 3 | -42/+72 | |
2019-12-15 | Added some common IDE folders to gitignore | Jose Fernando Lopez Fernandez | 1 | -0/+5 | |
2019-09-22 | Initialize any_failed | Kyle Altendorf | 1 | -1/+1 | |
oops | |||||
2019-09-21 | Separate test function and main() | Kyle Altendorf | 3 | -2/+7 | |
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 | Return non-zero when tests fail | Kyle Altendorf | 1 | -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. | |||||
2019-09-18 | Correct \ alignment | Kyle Altendorf | 1 | -4/+4 | |
2019-09-18 | Use size_t and fixed width format specifiers for printf()... for siphash.c | Kyle Altendorf | 1 | -8/+5 | |
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-13 | Use size_t and fixed with format specifiers for printf() | Kyle Altendorf | 1 | -4/+5 | |
2019-09-10 | Make *c* and *d* rounds less intrusively configurable | Kyle Altendorf | 4 | -9/+32 | |
2019-09-09 | Remove unneded #ifndef GETVECTORS check | Kyle Altendorf | 1 | -2/+0 | |
2019-09-09 | Avoid warnings about unused variable fails | Kyle Altendorf | 1 | -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; ^~~~~ | |||||
2019-09-09 | Use UINTxx_C() macros for 'large' constants | Kyle Altendorf | 2 | -6/+6 | |
2019-09-09 | Remove duplicated U32TO8_LE() macro definition | Kyle Altendorf | 1 | -6/+0 | |
2017-02-24 | d/experimental | JP Aumasson | 1 | -3/+3 | |
2017-01-05 | Update test vectors for HalfSipHash | Dmitry Chestnykh | 1 | -48/+48 | |
PR #6 fixed an issue that requires generating new test vectors. | |||||
2016-12-21 | halfsiphash: 4 byte chunks, not 8, so compute leftover correctly | Jason A. Donenfeld | 1 | -1/+1 | |
2016-12-17 | autogen vectors, tweaked hsiphash | JP Aumasson | 5 | -476/+1057 | |
2016-12-16 | chaskey constants | JP Aumasson | 2 | -131/+132 | |
2016-12-16 | bugfix | JP Aumasson | 2 | -65/+65 | |
2016-12-16 | experimental | JP Aumasson | 1 | -2/+2 | |
2016-12-16 | readme | JP Aumasson | 7 | -417/+710 | |
2016-02-29 | comments on 128b security | JP Aumasson | 1 | -0/+4 | |
2016-01-20 | recover deleted files | JP Aumasson | 2 | -0/+232 | |
2015-10-20 | reformat | JP Aumasson | 3 | -303/+87 | |
2014-11-19 | formatting | JP Aumasson | 1 | -2/+2 | |