Home
last modified time | relevance | path

Searched refs:hex_policy_hash (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dcryptsetup-token-systemd-tpm2.c67 _cleanup_free_ char *base64_blob = NULL, *hex_policy_hash = NULL; in cryptsetup_token_open() local
84 …arams.search_pcr_mask, &pcr_mask, &pcr_bank, &primary_alg, &base64_blob, &hex_policy_hash, &flags); in cryptsetup_token_open()
94 r = unhexmem(hex_policy_hash, SIZE_MAX, &policy_hash, &policy_hash_size); in cryptsetup_token_open()
146 _cleanup_free_ char *base64_blob = NULL, *hex_policy_hash = NULL, in cryptsetup_token_dump() local
152 …data(json, UINT32_MAX, &pcr_mask, &pcr_bank, &primary_alg, &base64_blob, &hex_policy_hash, &flags); in cryptsetup_token_dump()
170 r = crypt_dump_hex_string(hex_policy_hash, &policy_hash_str); in cryptsetup_token_dump()
Dluks2-tpm2.c79 _cleanup_free_ char *base64_blob = NULL, *hex_policy_hash = NULL; in parse_luks2_tpm2_data() local
155 hex_policy_hash = strdup(json_variant_string(w)); in parse_luks2_tpm2_data()
156 if (!hex_policy_hash) in parse_luks2_tpm2_data()
172 *ret_hex_policy_hash = TAKE_PTR(hex_policy_hash); in parse_luks2_tpm2_data()