diff options
| author | Javier Martinez Canillas <javierm@redhat.com> | 2017-06-15 15:16:05 +0200 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2017-06-15 11:30:22 -0400 |
| commit | 0baa915056b6dc3dbea51c045e1e3ef8a0d86a08 (patch) | |
| tree | e14ae9fe2b5d482ff48402ea50cae51ab689c308 /Cryptlib/OpenSSL/crypto/modes/ctr128.c | |
| parent | 9c40fb7c0570430e28c8e5bc34223d6e3a59a929 (diff) | |
| download | efi-boot-shim-0baa915056b6dc3dbea51c045e1e3ef8a0d86a08.tar.gz efi-boot-shim-0baa915056b6dc3dbea51c045e1e3ef8a0d86a08.zip | |
shim/tpm: Take out GetCapability() call from tpm2_present() logic
The EFI_TCG2_PROTOCOL.GetCapability() function is used to learn if a TPM2
chip is present. But the protocol capability information is also needed
for other reasons, for example to determine what event log formats are
supported by the firmware.
Take out the GetCapability() call from the tpm2_present() logic and reduce
that function to just checking if a TPM2 chip is available or not, so the
capabilities can later be used to determine the supported TPM log formats.
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/modes/ctr128.c')
0 files changed, 0 insertions, 0 deletions
