Re: [PATCH 1/9] tpm: Add support for in-kernel resetting of PCRs

2021-02-19 Thread Jarkko Sakkinen
On Sat, Feb 20, 2021 at 01:32:47AM +, Matthew Garrett wrote: Perhaps, prepend with a paragraph elaborating the background just a bit: "When entering to hibernation, PCR 23 will be used to store a known value. This value defines a policy for the decryption of the key used to encrypt the hibern

[PATCH 1/9] tpm: Add support for in-kernel resetting of PCRs

2021-02-19 Thread Matthew Garrett
Add an internal command for resetting a PCR. Signed-off-by: Matthew Garrett --- drivers/char/tpm/tpm-interface.c | 28 + drivers/char/tpm/tpm.h | 2 ++ drivers/char/tpm/tpm1-cmd.c | 34 ++ drivers/char/tpm/tpm2-cmd.c | 36 +