mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-07 00:01:49 -04:00
tpm: Intel FW TPM always uses locality 0
This commit is contained in:
parent
2ea1dac203
commit
08760dd927
@ -285,10 +285,14 @@ static bool get_algs_capability(private_tpm_tss_tss2_t *this)
|
|||||||
fips_140_2 ? "FIPS 140-2" : (this->fips_186_4 ? "FIPS 186-4" : ""));
|
fips_140_2 ? "FIPS 140-2" : (this->fips_186_4 ? "FIPS 186-4" : ""));
|
||||||
|
|
||||||
/* determine if TPM uses old event digest format and a different locality */
|
/* determine if TPM uses old event digest format and a different locality */
|
||||||
if (streq(manufacturer, "INTC") && revision == 116 && year == 2016)
|
if (streq(manufacturer, "INTC"))
|
||||||
{
|
{
|
||||||
this->old_event_digest_format = TRUE;
|
|
||||||
locality = 0;
|
locality = 0;
|
||||||
|
|
||||||
|
if (revision == 116 && year == 2016)
|
||||||
|
{
|
||||||
|
this->old_event_digest_format = TRUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* construct TPM 2.0 version_info object */
|
/* construct TPM 2.0 version_info object */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user