Systemd/src/libsystemd/sd-id128
Lennart Poettering 70fc4f5790 sd-id128: add new sd_id128_get_machine_app_specific() API
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
2016-11-29 15:13:00 +01:00
..
id128-util.c core: add "invocation ID" concept to service manager 2016-10-07 20:14:38 +02:00
id128-util.h core: add "invocation ID" concept to service manager 2016-10-07 20:14:38 +02:00
Makefile build-sys: merge libsystemd-id128 into libsystemd 2014-01-25 18:10:08 -05:00
sd-id128.c sd-id128: add new sd_id128_get_machine_app_specific() API 2016-11-29 15:13:00 +01:00