| Commit message (Expand) | Author | Age | Files | Lines |
| * | Rewrite code, but keeping the exact same semantic and behaviour•••- 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.
HEADmain | EuAndreh | 2025-06-04 | 25 | -3153/+858 |
| * | Add complete "Makefile" for standard packaging•••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.
| EuAndreh | 2025-03-20 | 2 | -0/+47 |
| * | Remove support files | EuAndreh | 2025-03-20 | 5 | -420/+0 |
| * | x | JP | 2024-05-17 | 1 | -1/+1 |
| * | LLVM-compatible license | JP | 2024-05-17 | 2 | -1/+225 |
| * | ip | JP Aumasson | 2023-02-25 | 1 | -0/+4 |
| * | comments | JP Aumasson | 2022-10-22 | 3 | -3/+19 |
| * | duallicense | JP Aumasson | 2022-10-22 | 3 | -0/+9 |
| * | Merge pull request #46 from devendranaga/master•••SipHash works on ESP8266 running FreeRTOS. So Update the README on OS… | Jean-Philippe Aumasson | 2022-10-22 | 1 | -1/+1 |
| |\ |
|
| | * | SipHash works on ESP8266 running FreeRTOS. So Update the README on OS support | Dev | 2022-08-17 | 1 | -1/+1 |
| |/ |
|
| * | debug symbol fix | JP Aumasson | 2022-07-28 | 1 | -1/+1 |
| * | Merge pull request #39 from snej/rename-debug-symbol•••Rename `DEBUG` to `DEBUG_SIPHASH` – fixing the makefile upstream | Jean-Philippe Aumasson | 2022-07-28 | 2 | -2/+5 |
| |\ |
|
| | * | Merge branch 'master' into rename-debug-symbol | Jean-Philippe Aumasson | 2022-07-28 | 3 | -3/+8 |
| | |\
| |/
|/| |
|
| * | | Merge pull request #41 from noocsharp/master•••fix typo: clarify -> clarity | Jean-Philippe Aumasson | 2022-01-21 | 1 | -1/+1 |
| |\ \ |
|
| | * | | fix typo: clarify -> clarity | Nihal Jere | 2022-01-20 | 1 | -1/+1 |
| |/ / |
|
| * | | Merge pull request #40 from noocsharp/master•••only include stdio when used | Jean-Philippe Aumasson | 2022-01-14 | 2 | -2/+4 |
| |\ \ |
|
| | * | | only include stdio when used | Nihal Jere | 2022-01-12 | 2 | -2/+4 |
| |/ / |
|
| | * | Rename `DEBUG` to `DEBUG_SIPHASH`•••`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`.
| Jens Alfke | 2021-11-11 | 2 | -2/+2 |
| |/ |
|
| * | https | JP Aumasson | 2021-10-31 | 1 | -1/+1 |
| * | halfsh header, cleanup | JP Aumasson | 2021-10-31 | 1 | -2/+1 |
| * | Merge pull request #37 from pjanx/master•••-Wimplicit-fallthrough=4 compliance | Jean-Philippe Aumasson | 2021-10-31 | 2 | -0/+8 |
| |\ |
|
| | * | -Wimplicit-fallthrough=4 compliance | Přemysl Eric Janouch | 2021-10-13 | 2 | -0/+8 |
| |/ |
|
| * | Merge pull request #36 from themaxdavitt/themaxdavitt-patch-1•••Fix link to hash-flooding DOS attack slides | Jean-Philippe Aumasson | 2021-06-07 | 1 | -1/+1 |
| |\ |
|
| | * | Fix link to hash-flooding DOS attack slides | Max Davitt | 2021-06-06 | 1 | -1/+1 |
| |/ |
|
| * | Merge pull request #35 from veorq/uint8t2uchar•••address potential strict aliasing violation | Jean-Philippe Aumasson | 2021-03-12 | 6 | -31/+36 |
| |\ |
|
| | * | consts | JP Aumasson | 2021-03-12 | 2 | -6/+6 |
| | * | typechange | JP Aumasson | 2021-02-20 | 6 | -31/+36 |
| |/ |
|
| * | Merge pull request #34 from veorq/moretest•••more tests and security checks | Jean-Philippe Aumasson | 2021-02-19 | 7 | -350/+2348 |
| |\ |
|
| | * | tests | JP Aumasson | 2021-02-19 | 7 | -350/+2348 |
| |/ |
|
| * | halfsiphash header + badge | JP Aumasson | 2021-02-19 | 4 | -3/+29 |
| * | Merge pull request #32 from veorq/header•••header | Jean-Philippe Aumasson | 2021-01-19 | 2 | -3/+27 |
| |\ |
|
| | * | fixes | JP Aumasson | 2021-01-19 | 2 | -59/+62 |
| | * | header | JP Aumasson | 2021-01-19 | 2 | -61/+82 |
| |/ |
|
| * | Merge pull request #30 from veorq/notahash•••Notahash | Jean-Philippe Aumasson | 2021-01-11 | 4 | -42/+77 |
| |\ |
|
| | * | ignore bins | JP Aumasson | 2021-01-11 | 1 | -0/+5 |
| | * | formatting | Jean-Philippe Aumasson | 2021-01-11 | 1 | -3/+3 |
| | * | readme | JP Aumasson | 2021-01-11 | 3 | -42/+72 |
| |/ |
|
| * | Merge pull request #26 from jflopezfernandez/master•••Added some common IDE folders to gitignore | Jean-Philippe Aumasson | 2019-12-15 | 1 | -0/+5 |
| |\ |
|
| | * | Added some common IDE folders to gitignore | Jose Fernando Lopez Fernandez | 2019-12-15 | 1 | -0/+5 |
| |/ |
|
| * | Merge pull request #23 from altendky/return_for_test_failed•••Return non-zero when tests fail | Jean-Philippe Aumasson | 2019-09-27 | 1 | -1/+4 |
| |\ |
|
| | * | Initialize any_failed•••oops
| Kyle Altendorf | 2019-09-22 | 1 | -1/+1 |
| | * | Merge branch 'master' into return_for_test_failed | Kyle Altendorf | 2019-09-22 | 3 | -2/+7 |
| | |\
| |/
|/| |
|
| * | | Merge pull request #24 from altendky/separate_test_and_main•••Separate test function and main() | Jean-Philippe Aumasson | 2019-09-22 | 3 | -2/+7 |
| |\ \ |
|
| | * | | 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.
| Kyle Altendorf | 2019-09-21 | 3 | -2/+7 |
| |/ / |
|
| | * | Return non-zero when tests fail•••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.
| Kyle Altendorf | 2019-09-21 | 1 | -1/+4 |
| |/ |
|
| * | Merge pull request #21 from altendky/full_siphash_format_specifiers•••Use size_t and fixed width format specifiers for printf()... for siphash.c | Jean-Philippe Aumasson | 2019-09-19 | 1 | -8/+5 |
| |\ |
|
| | * | Correct \ alignment | Kyle Altendorf | 2019-09-18 | 1 | -4/+4 |
| | * | 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.
| Kyle Altendorf | 2019-09-18 | 1 | -8/+5 |
| |/ |
|
| * | Merge pull request #17 from altendky/format_specifiers•••Use size_t and fixed width format specifiers for printf() | Jean-Philippe Aumasson | 2019-09-14 | 1 | -4/+5 |
| |\ |
|
| | * | Use size_t and fixed with format specifiers for printf() | Kyle Altendorf | 2019-09-13 | 1 | -4/+5 |