Searched refs:tpm2_blob_size (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/shared/ |
D | creds-util.c | 497 …size_t host_key_size = 0, tpm2_key_size = 0, tpm2_blob_size = 0, tpm2_policy_hash_size = 0, output… in encrypt_credential_and_warn() local 584 &tpm2_blob_size, in encrypt_credential_and_warn() 598 assert(tpm2_blob_size <= CREDENTIAL_FIELD_SIZE_MAX); in encrypt_credential_and_warn() 664 …ey ? offsetof(struct tpm2_credential_header, policy_hash_and_blob) + tpm2_blob_size + tpm2_policy_… in encrypt_credential_and_warn() 690 t->blob_size = htole32(tpm2_blob_size); in encrypt_credential_and_warn() 692 memcpy(t->policy_hash_and_blob, tpm2_blob, tpm2_blob_size); in encrypt_credential_and_warn() 693 … memcpy(t->policy_hash_and_blob + tpm2_blob_size, tpm2_policy_hash, tpm2_policy_hash_size); in encrypt_credential_and_warn() 695 …IGN8(offsetof(struct tpm2_credential_header, policy_hash_and_blob) + tpm2_blob_size + tpm2_policy_… in encrypt_credential_and_warn()
|