Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-16 | siphash24: change result argument to uint64_t | Martin Pitt | |
Change the "out" parameter from uint8_t[8] to uint64_t. On architectures which enforce pointer alignment this fixes crashes when we previously cast an unaligned array to uint64_t*, and on others this should at least improve performance as the compiler now aligns these properly. This also simplifies the code in most cases by getting rid of typecasts. The only place which we can't change is struct duid's en.id, as that is _packed_ and public API, so we can't enforce alignment of the "id" field and have to use memcpy instead. | |||
2015-10-06 | siphash24: unify API | Tom Gundersen | |
Make the API of the new helpers more similar to the old wrapper. In particular we now return the hash as a byte string to avoid any endianness problems. | |||
2015-10-05 | siphash24: expose the internal helper functions | Tom Gundersen | |
2015-06-11 | build-sys: split internal basic/ library from shared/ | Kay Sievers | |
basic/ can be used by everything cannot use anything outside of basic/ libsystemd/ can use basic/ cannot use shared/ shared/ can use libsystemd/ |