Re: [PATCH v3 11/16] tpm: remove @space from tpm_transmit()

From: Stefan Berger
Date: Tue Nov 06 2018 - 10:26:03 EST


On 11/4/18 8:45 PM, Jarkko Sakkinen wrote:
Remove @space from tpm_transmit() API` in order to completely remove the
bound between low-level transmission functionality and TPM spaces. The
only real dependency existing is the amount of data saved before trying
to send a command to the TPM.

It doesn't really matter if we save always a bit more than needed so
this commit changes the amount saved always to be the size of the TPM
header and three handles.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>


This patch only removes a dead parameter from API calls:

Reviewed-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>