summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm
diff options
context:
space:
mode:
authorThiebaud Weksteen2017-09-20 10:13:39 +0200
committerJarkko Sakkinen2018-01-08 11:58:35 +0100
commit33b6d03469b2206fb51ecc37f40411a857ad8fff (patch)
tree6b0c5cc3fc87cdc3e5f796b55094563fb9c1bf69 /drivers/char/tpm
parenttpm: add event log format version (diff)
downloadkernel-qcow2-linux-33b6d03469b2206fb51ecc37f40411a857ad8fff.tar.gz
kernel-qcow2-linux-33b6d03469b2206fb51ecc37f40411a857ad8fff.tar.xz
kernel-qcow2-linux-33b6d03469b2206fb51ecc37f40411a857ad8fff.zip
efi: call get_event_log before ExitBootServices
With TPM 2.0 specification, the event logs may only be accessible by calling an EFI Boot Service. Modify the EFI stub to copy the log area to a new Linux-specific EFI configuration table so it remains accessible once booted. When calling this service, it is possible to specify the expected format of the logs: TPM 1.2 (SHA1) or TPM 2.0 ("Crypto Agile"). For now, only the first format is retrieved. Signed-off-by: Thiebaud Weksteen <tweek@google.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Tested-by: Javier Martinez Canillas <javierm@redhat.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/tpm')
0 files changed, 0 insertions, 0 deletions