Home
last modified time | relevance | path

Searched refs:policy_hash (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/cryptsetup/
Dcryptsetup-tpm2.c66 const void *policy_hash, in acquire_tpm2_key() argument
122 policy_hash, in acquire_tpm2_key()
145 policy_hash, in acquire_tpm2_key()
176 _cleanup_free_ void *blob = NULL, *policy_hash = NULL; in find_tpm2_auto_data() local
281 assert(!policy_hash); in find_tpm2_auto_data()
287 r = unhexmem(json_variant_string(w), SIZE_MAX, &policy_hash, &policy_hash_size); in find_tpm2_auto_data()
315 *ret_policy_hash = TAKE_PTR(policy_hash); in find_tpm2_auto_data()
Dcryptsetup-tpm2.h25 const void *policy_hash,
62 const void *policy_hash, in acquire_tpm2_key() argument
Dcryptsetup.c1348 _cleanup_free_ void *blob = NULL, *policy_hash = NULL; in attach_luks_or_plain_or_bitlk_by_tpm2() local
1370 &policy_hash, &policy_hash_size, in attach_luks_or_plain_or_bitlk_by_tpm2()
1396 policy_hash, policy_hash_size, in attach_luks_or_plain_or_bitlk_by_tpm2()
/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dcryptsetup-token-systemd-tpm2.c66 _cleanup_free_ void *blob = NULL, *policy_hash = NULL; in cryptsetup_token_open() local
94 r = unhexmem(hex_policy_hash, SIZE_MAX, &policy_hash, &policy_hash_size); in cryptsetup_token_open()
105 policy_hash, in cryptsetup_token_open()
Dluks2-tpm2.c22 const void *policy_hash, in acquire_luks2_key() argument
60 policy_hash, policy_hash_size, pin_str, in acquire_luks2_key()
Dluks2-tpm2.h16 const void *policy_hash,
/systemd-251/src/shared/
Dtpm2-util.h57 … uint16_t primary_alg, const void *blob, size_t blob_size, const void *policy_hash, size_t policy_…
Dtpm2-util.c1371 const void *policy_hash, in tpm2_make_luks2_json() argument
1383 assert(policy_hash || policy_hash_size == 0); in tpm2_make_luks2_json()
1414 … JSON_BUILD_PAIR("tpm2-policy-hash", JSON_BUILD_HEX(policy_hash, policy_hash_size)), in tpm2_make_luks2_json()