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

Stefan Berger stefanb at linux.ibm.com
Tue Nov 6 15:25:52 UTC 2018


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 at linux.intel.com>


This patch only removes a dead parameter from API calls:

Reviewed-by: Stefan Berger <stefanb at linux.ibm.com>




More information about the Linux-security-module-archive mailing list