diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/antirollback.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/antirollback.h b/src/include/antirollback.h index 942793a62b..5ba36f7e65 100644 --- a/src/include/antirollback.h +++ b/src/include/antirollback.h @@ -12,6 +12,7 @@ #include "tpm_lite/tss_constants.h" struct vb2_context; +enum vb2_pcr_digest; /* TPM NVRAM location indices. */ #define FIRMWARE_NV_INDEX 0x1007 @@ -51,6 +52,12 @@ uint32_t antirollback_lock_space_firmware(void); */ /** + * Ask vboot for a digest and extend a TPM PCR with it. + */ +uint32_t tpm_extend_pcr(struct vb2_context *ctx, int pcr, + enum vb2_pcr_digest which_digest); + +/** * Issue a TPM_Clear and reenable/reactivate the TPM. */ uint32_t tpm_clear_and_reenable(void); |