guarantees
proper
tboot).
etc.
all
is
kernel.
the
re-establishing
resume
This goes to the threat model for S3. The current code assumes that the
S3 resume process is trusted. That is, the memory image will not be
compromised between the time tboot turns off TXT in order to put the
platform into S3 and the time TXT is re-launched. For this model, the
purpose of re-launching is to re-establish the original PCR values and
the reset protection.
If stronger protection is desired, the apps that manage keys would need
to seal the keys to the current DRTM PCRs and then clear the plaintext
copies, before the system enters S3. The tboot and Linux code would
also need to put a (U)MAC over all of the image (the kernel could UMAC
userspace and tboot would UMAC the kernel). The UMAC that tboot
calculates would get sealed before entry into S3 and then unsealed and
validated upon resume. OF course this adds time to both entry and
resume.
Joe
--