NetworkManager/src/c-siphash
Thomas Haller 5afcf33b70
c-siphash: re-import git-subtree for 'src/c-siphash'
The subtree was moved from "shared/c-siphash" to "src/c-siphash". That confuses
git-subtree. To fix it, reimport the code with

  rm -rf src/c-siphash
  git commit -a -m 'dummy commit'
  git subtree add --prefix src/c-siphash git@github.com:c-util/c-siphash.git eb87a9c4a5b0441ede073597253e1d0b7785e6be --squash

Then rebase the result to drop the bogus dummy commit from the history.

To update the library use:

  git subtree pull --prefix src/c-siphash git@github.com:c-util/c-siphash.git main --squash
2021-10-01 16:07:26 +02:00
..
.github/workflows build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
src build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
subprojects c-siphash: re-import git-subtree for 'src/c-siphash' 2021-10-01 16:07:26 +02:00
.editorconfig build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
.gitmodules build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
AUTHORS build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
meson.build build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
NEWS.md build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
README.md build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00

c-siphash

Streaming-capable SipHash Implementation

The c-siphash project is a standalone implementation of SipHash in Standard ISO-C11. It provides a streaming-capable API to compute data hashes according to the SipHash algorithm. For API documentation, see the c-siphash.h header file, as well as the docbook comments for each function.

Project

Requirements

The requirements for this project are:

  • libc (e.g., glibc >= 2.16)

At build-time, the following software is required:

  • meson >= 0.41
  • pkg-config >= 0.29

Build

The meson build-system is used for this project. Contact upstream documentation for detailed help. In most situations the following commands are sufficient to build and install from source:

mkdir build
cd build
meson setup ..
ninja
meson test
ninja install

No custom configuration options are available.

Repository:

License:

  • Apache-2.0 OR LGPL-2.1-or-later
  • See AUTHORS file for details.