]> jfr.im git - irc/freenode/syn.git/commit
Make "random" cloaking deterministic
authorJanik Kleinhoff <redacted>
Tue, 19 Feb 2019 01:50:26 +0000 (01:50 +0000)
committerJanik Kleinhoff <redacted>
Tue, 19 Feb 2019 01:50:26 +0000 (01:50 +0000)
commitdc11be33efe4753415f4ebb1c9e43f1e7feaf534
tree86ac7ad44ebe3a2364497f4d010c7ee37c2f90f9
parent2497348d469f390305260bd62dc12d7e7328fba6
Make "random" cloaking deterministic

This uses SipHash and adds a prf_key config option.
auxiliary/siphash.c is the unmodified SipHash reference implementation,
taken from https://github.com/veorq/SipHash

Set syn::prf_key to a string of 32 random hex digits in the
configuration to use this feature.
Makefile
auxiliary/siphash.c [new file with mode: 0644]
facilities.c
syn.h
util.c