At present this code assumes that the TPM data has been read but this may not be the case. Refactor the code to use a separate pointer so we know the current state of the data. Add error checking for the data size. Signed-off-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
cr50_i2c.c | ||
Kconfig | ||
Makefile | ||
sandbox_common.c | ||
sandbox_common.h | ||
tpm-uclass.c | ||
tpm2_ftpm_tee.c | ||
tpm2_ftpm_tee.h | ||
tpm2_tis_sandbox.c | ||
tpm2_tis_spi.c | ||
tpm_atmel_twi.c | ||
tpm_internal.h | ||
tpm_tis.h | ||
tpm_tis_infineon.c | ||
tpm_tis_lpc.c | ||
tpm_tis_sandbox.c | ||
tpm_tis_st33zp24_i2c.c | ||
tpm_tis_st33zp24_spi.c |