Searched refs:policy_hash (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/cryptsetup/ |
D | cryptsetup-tpm2.c | 66 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()
|
D | cryptsetup-tpm2.h | 25 const void *policy_hash, 62 const void *policy_hash, in acquire_tpm2_key() argument
|
D | cryptsetup.c | 1348 _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/ |
D | cryptsetup-token-systemd-tpm2.c | 66 _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()
|
D | luks2-tpm2.c | 22 const void *policy_hash, in acquire_luks2_key() argument 60 policy_hash, policy_hash_size, pin_str, in acquire_luks2_key()
|
D | luks2-tpm2.h | 16 const void *policy_hash,
|
/systemd-251/src/shared/ |
D | tpm2-util.h | 57 … uint16_t primary_alg, const void *blob, size_t blob_size, const void *policy_hash, size_t policy_…
|
D | tpm2-util.c | 1371 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()
|