Searched refs:policy_hash_size (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/cryptsetup/ |
D | cryptsetup-tpm2.c | 67 size_t policy_hash_size, in acquire_tpm2_key() argument 123 policy_hash_size, in acquire_tpm2_key() 146 policy_hash_size, in acquire_tpm2_key() 177 size_t blob_size = 0, policy_hash_size = 0; in find_tpm2_auto_data() local 287 r = unhexmem(json_variant_string(w), SIZE_MAX, &policy_hash, &policy_hash_size); in find_tpm2_auto_data() 316 *ret_policy_hash_size = policy_hash_size; in find_tpm2_auto_data()
|
D | cryptsetup-tpm2.h | 26 size_t policy_hash_size, 63 size_t policy_hash_size, in acquire_tpm2_key() argument
|
D | cryptsetup.c | 1349 size_t blob_size, policy_hash_size; 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 | 60 size_t blob_size, policy_hash_size, decrypted_key_size; in cryptsetup_token_open() local 94 r = unhexmem(hex_policy_hash, SIZE_MAX, &policy_hash, &policy_hash_size); in cryptsetup_token_open() 106 policy_hash_size, in cryptsetup_token_open()
|
D | luks2-tpm2.c | 23 size_t policy_hash_size, in acquire_luks2_key() argument 60 policy_hash, policy_hash_size, pin_str, in acquire_luks2_key()
|
D | luks2-tpm2.h | 17 size_t policy_hash_size,
|
/systemd-251/src/shared/ |
D | creds-util.c | 427 le32_t policy_hash_size; member 691 t->policy_hash_size = htole32(tpm2_policy_hash_size); in encrypt_credential_and_warn() 858 if (le32toh(t->policy_hash_size) > CREDENTIAL_FIELD_SIZE_MAX) in decrypt_credential_and_warn() 865 …_credential_header, policy_hash_and_blob) + le32toh(t->blob_size) + le32toh(t->policy_hash_size)) + in decrypt_credential_and_warn() 877 le32toh(t->policy_hash_size), in decrypt_credential_and_warn() 886 le32toh(t->policy_hash_size)); in decrypt_credential_and_warn()
|
D | tpm2-util.h | 57 …const void *blob, size_t blob_size, const void *policy_hash, size_t policy_hash_size, TPM2Flags fl…
|
D | tpm2-util.c | 1372 size_t policy_hash_size, 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()
|