verifiers: Core TPM support
Add support for performing basic TPM measurements. Right now this only supports extending PCRs statically and only on UEFI. In future we might want to have some sort of mechanism for choosing which events get logged to which PCRs, but this seems like a good default policy and we can wait to see whether anyone has a use case before adding more complexity. Signed-off-by: Matthew Garrett <mjg59@google.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
d3a5e812c5
commit
d6ca0a90ca
6 changed files with 723 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
#include <grub/efi/efi.h>
|
||||
#include <grub/i386/tsc.h>
|
||||
#include <grub/loader.h>
|
||||
#include <grub/tpm.h>
|
||||
|
||||
void
|
||||
grub_machine_init (void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue