Searched refs:tpm2_policy_hash_size (Results 1 – 1 of 1) sorted by relevance
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() local586 &tpm2_policy_hash_size, in encrypt_credential_and_warn()599 assert(tpm2_policy_hash_size <= CREDENTIAL_FIELD_SIZE_MAX); in encrypt_credential_and_warn()664 …truct tpm2_credential_header, policy_hash_and_blob) + tpm2_blob_size + tpm2_policy_hash_size : 0) + in encrypt_credential_and_warn()691 t->policy_hash_size = htole32(tpm2_policy_hash_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 …tof(struct tpm2_credential_header, policy_hash_and_blob) + tpm2_blob_size + tpm2_policy_hash_size); in encrypt_credential_and_warn()