Question about the TPM driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I noticed that, after a command is done, the TPM driver only allows
for a single read operation (for a limited time). If I wanted to e.g.
check a command's response code before attempting to read the rest of
the response, my next read would fail. Same happens if I take too long
to read a command's results.

I can understand the timeout, but I'm curious about this single-read
policy, especially since some commands such as GetCapability don't
guarantee how much data will actually be returned. Does anyone know
why it was implemented this way?

Thanks



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux