Home
last modified time | relevance | path

Searched refs:app_id (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/libsystemd/sd-id128/
Dsd-id128.c291 static int get_app_specific(sd_id128_t base, sd_id128_t app_id, sd_id128_t *ret) { in get_app_specific() argument
297 hmac_sha256(&base, sizeof(base), &app_id, sizeof(app_id), hmac); in get_app_specific()
306 _public_ int sd_id128_get_machine_app_specific(sd_id128_t app_id, sd_id128_t *ret) { in sd_id128_get_machine_app_specific() argument
316 return get_app_specific(id, app_id, ret); in sd_id128_get_machine_app_specific()
319 _public_ int sd_id128_get_boot_app_specific(sd_id128_t app_id, sd_id128_t *ret) { in sd_id128_get_boot_app_specific() argument
329 return get_app_specific(id, app_id, ret); in sd_id128_get_boot_app_specific()
/systemd-251/src/network/
Dnetworkd-address-generation.c130 const sd_id128_t *app_id, in generate_stable_private_address() argument
141 assert(app_id); in generate_stable_private_address()
147 r = sd_id128_get_machine_app_specific(*app_id, &secret_machine_key); in generate_stable_private_address()
176 const sd_id128_t *app_id, in generate_addresses() argument
187 assert(app_id); in generate_addresses()
213 … if (generate_stable_private_address(link, app_id, &j->secret_key, &masked, &addr) < 0) in generate_addresses()
242 … r = generate_stable_private_address(link, app_id, &SD_ID128_NULL, &masked, addr); in generate_addresses()
/systemd-251/src/systemd/
Dsd-id128.h53 int sd_id128_get_machine_app_specific(sd_id128_t app_id, sd_id128_t *ret);
54 int sd_id128_get_boot_app_specific(sd_id128_t app_id, sd_id128_t *ret);