On 10/23/2019 8:10 PM, Kyoungwon Kim wrote:
Also, is it possible to directly work directly with the TPM driver from
another driver instead of using the TSS? If it is possible, could you
please share a website, where I could start looking into this?
You probably mean, "... from another middleware instead of using the
TSS." A driver does not normally call another driver.
If so:
Any application, middleware, or another TSS can call the TPM device
driver directly. Trousers is not required.
This has sample code for the most used TPM 1.2 commands:
https://sourceforge.net/projects/ibmtpm20tss/
However:
The Linux TPM 1.2 device driver is single process - one open() at a
time. The trousers tcsd includes a resource manager that schedules
multiple processes using the TPM. If you don't use tcsd, you are single
process unless you write a resource manager.
The Linux device driver for TPM 2.0 includes a resource manager. No
tcsd is required.
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users