683c4b7753
If the requested buffer size of the frontend is smaller than the fixed buffer size of the host's TPM, fail the startup_tpm() interface function, which will make the device unusable. We fail it because the backend TPM could produce larger packets than what the frontend could pass to the OS. The current combination of TIS frontend and either passthrough or emulator backend will not lead to this case since the TIS can support any size of buffer. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> |
||
---|---|---|
.. | ||
Makefile.objs | ||
tpm_emulator.c | ||
tpm_int.h | ||
tpm_ioctl.h | ||
tpm_passthrough.c | ||
tpm_tis.c | ||
tpm_util.c | ||
tpm_util.h |