linux_dsm_epyc7002/drivers/char/tpm
Harald Hoyer 186d124f07 tpm_eventlog.c: fix binary_bios_measurements
The commit 0cc698af36 ("vTPM: support little endian guests") copied
the event, but without the event data, did an endian conversion on the
size and tried to output the event data from the copied version, which
has only have one byte of the data, resulting in garbage event data.

[jarkko.sakkinen@linux.intel.com: fixed minor coding style issues and
 renamed the local variable tempPtr as temp_ptr now that there is an
 excuse to do this.]

Signed-off-by: Harald Hoyer <harald@redhat.com>
Fixes: 0cc698af36 ("vTPM: support little endian guests")
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
cc: stable@vger.kernel.org
2016-02-20 09:59:32 +02:00
..
st33zp24
Kconfig
Makefile
tpm2-cmd.c tpm: fix: set continueSession attribute for the unseal operation 2016-02-20 09:58:21 +02:00
tpm_acpi.c
tpm_atmel.c
tpm_atmel.h
tpm_crb.c tpm_crb: Use devm_ioremap_resource 2016-02-10 04:11:51 +02:00
tpm_eventlog.c tpm_eventlog.c: fix binary_bios_measurements 2016-02-20 09:59:32 +02:00
tpm_eventlog.h
tpm_i2c_atmel.c
tpm_i2c_infineon.c
tpm_i2c_nuvoton.c
tpm_ibmvtpm.c tpm_ibmvtpm: properly handle interrupted packet receptions 2015-12-20 15:27:12 +02:00
tpm_ibmvtpm.h tpm_ibmvtpm: properly handle interrupted packet receptions 2015-12-20 15:27:12 +02:00
tpm_infineon.c
tpm_nsc.c
tpm_of.c TPM: Avoid reference to potentially freed memory 2015-11-09 17:52:55 +02:00
tpm_ppi.c
tpm_tis.c tpm_tis: Clean up the force=1 module parameter 2016-02-10 04:11:37 +02:00
tpm-chip.c tpm: fix: return rc when devm_add_action() fails 2016-02-20 09:59:32 +02:00
tpm-dev.c
tpm-interface.c tpm: rework tpm_get_timeouts() 2015-12-20 15:23:46 +02:00
tpm-sysfs.c
tpm.h tpm_crb: Use the common ACPI definition of struct acpi_tpm2 2016-02-10 04:11:18 +02:00
xen-tpmfront.c