Re: [PATCH v2 08/10] sandbox: tpm: Support storing device state in tpm2

2021-07-24 Thread Simon Glass
At present the tpm2 emulator does not support storing the device state. Add this so we can handle the normal vboot flow through the sandbox executables (VPL->SPL etc.) with the TPM contents staying in place. Note: sandbox has not yet been converted to use livetree for the state information, since

[PATCH v2 08/10] sandbox: tpm: Support storing device state in tpm2

2021-07-18 Thread Simon Glass
At present the tpm2 emulator does not support storing the device state. Add this so we can handle the normal vboot flow through the sandbox executables (VPL->SPL etc.) with the TPM contents staying in place. Note: sandbox has not yet been converted to use livetree for the state information, since