Re: [PATCH v7 2/7] tpm: tpm_tis: Add verify_data_integrity handle toy tpm_tis_phy_ops

From: Jarkko Sakkinen
Date: Wed Apr 29 2020 - 01:35:05 EST


On Mon, Apr 27, 2020 at 03:49:26PM +0300, amirmizi6@xxxxxxxxx wrote:
> + bool (*verify_data_integrity)(struct tpm_tis_data *data, const u8 *buf,
> + size_t len);

Why can't the i2c driver verify this in the end of read_bytes()?

/Jarkko