On 5/10/2018 10:31 AM, David R. Bild wrote:
Could this be implemented as a first priority to daemon. If it turns out
to be bad approach we can reconsider kernel. If we land it to kernel it
is harder to take steps back.
Is the daemon an implementation of the TCG resource manager spec?
The TCG spec does use a daemon approach, similar to tcsd for TPM 1.2.
The Linux TPM driver is currently using a different approach, a
in-kernel (in the TPM device driver) resource manager.
The advantages I see to putting the resource manager in the device
driver are:
1 - Kernel uses of the TPM go through the same device driver, so they
leverage the resource manager.
2 - The TPM device driver offers a standard /dev/tpmrm0 interface,
100% compatible with /dev/tpm0.