Re: tpm2_protocol

Jarkko Sakkinen <[email protected]> Wed, 13 Aug 2025 03:48:21 +0300
Newsgroups dev.linux.lists.tpm2,org.kernel.vger.linux-integrity,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
On Wed, Aug 13, 2025 at 03:40:27AM +0300, Jarkko Sakkinen wrote:
> This is designed as unipolar TPM protocol stack i.e. it's designed not
> only send commands and receive responses, but also send responses and
> receive commands.
 
Unipolarity has been my design goal from the get go given that:

1. It enables high granularity filtering i.e. as capable or more capable
   resource managers in kernel as pre-existing user space resource
   managers (once the implementation has matured enough ofc but it
   has the core design principles right I think).
2. Software defined TPM devices e.g., in-kernel TPM emulators and
   interoperability layers for other crypto devices and confidential
   computing technologies. I'm not sure if anyone wants anything
   like this, just plain highilighting the possibilities.

BR, Jarkko