u-boot/drivers/tpm
Simon Glass 51f00c1704 tpm: Export the open/close functions
At present these functions are not accessible outside the TPM library, but
in some cases we need to call them. Export them in the header file and add
a define for the SHA1 digest size.

Also adjust tpm_open() to call tpm_close() first so that the TPM is in a
known state before opening (e.g. by a previous phase of U-Boot).

Signed-off-by: Simon Glass <sjg@chromium.org>
2018-11-29 09:30:06 -07:00
..
Kconfig tpm: make TPM_V2 be compiled by default 2018-07-28 11:58:09 -04:00
Makefile tpm: Add support for SPL and TPL 2018-10-09 04:40:27 -06:00
tpm2_tis_sandbox.c tpm: sandbox: fix wrong assignment with a simplification 2018-08-13 14:04:04 -04:00
tpm2_tis_spi.c tpm: allow TPM v1 and v2 to be compiled at the same time 2018-07-28 11:57:38 -04:00
tpm_atmel_twi.c tpm: disociate TPMv1.x specific and generic code 2018-05-25 20:12:55 -04:00
tpm_internal.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tpm_tis_infineon.c tpm: disociate TPMv1.x specific and generic code 2018-05-25 20:12:55 -04:00
tpm_tis_lpc.c tpm: Export the open/close functions 2018-11-29 09:30:06 -07:00
tpm_tis_sandbox.c sandbox: tpm: Allow debugging of data packages 2018-11-20 19:14:22 -07:00
tpm_tis_st33zp24_i2c.c tpm: disociate TPMv1.x specific and generic code 2018-05-25 20:12:55 -04:00
tpm_tis_st33zp24_spi.c tpm: disociate TPMv1.x specific and generic code 2018-05-25 20:12:55 -04:00
tpm_tis.h tpm: add Revision ID field in the chip structure 2018-05-25 08:12:40 -04:00
tpm-uclass.c tpm: Use livetree and allow children 2018-10-09 04:40:27 -06:00