70fc4f5790
This adds an API for retrieving an app-specific machine ID to sd-id128. Internally it calculates HMAC-SHA256 with an 128bit app-specific ID as payload and the machine ID as key. (An alternative would have been to use siphash for this, which is also cryptographically strong. However, as it only generates 64bit hashes it's not an obvious choice for generating 128bit IDs.) Fixes: #4667 |
||
---|---|---|
.. | ||
id128-util.c | ||
id128-util.h | ||
Makefile | ||
sd-id128.c |