qemu-patch-raspberry4/hw/tpm
Amarnath Valluri f59864ba3a tpm-backend: Add new API to read backend TpmInfo
TPM configuration options are backend implementation details and shall not be
part of base TPMBackend object, and these shall not be accessed directly outside
of the class, hence added a new interface method, get_tpm_options() to
TPMDriverOps., which shall be implemented by the derived classes to return
configured tpm options.

A new tpm backend api - tpm_backend_query_tpm() which uses _get_tpm_options() to
prepare TpmInfo.

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2017-10-13 07:34:33 -04:00
..
Makefile.objs tpm: Probe for connected TPM 1.2 or TPM 2 2015-05-31 20:29:02 +02:00
tpm_int.h tpm: Probe for connected TPM 1.2 or TPM 2 2015-05-31 20:29:02 +02:00
tpm_passthrough.c tpm-backend: Add new API to read backend TpmInfo 2017-10-13 07:34:33 -04:00
tpm_tis.c clean-up: removed duplicate #includes 2016-10-28 18:17:24 +03:00
tpm_tis.h Extend TPM TIS interface to support TPM 2 2015-05-31 20:29:02 +02:00
tpm_util.c tpm: Use EMSGSIZE instead of EBADMSG to compile on OpenBSD 2017-10-13 07:34:32 -04:00
tpm_util.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00