From 3058711f8b12cf11585e0eda2a1b573f0d871667 Mon Sep 17 00:00:00 2001 From: kavsrf Date: Mon, 17 Apr 2017 23:30:06 +0300 Subject: TPM 2.0 --- DcsInt/DcsInt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DcsInt/DcsInt.c') diff --git a/DcsInt/DcsInt.c b/DcsInt/DcsInt.c index 3303c56..efa3f82 100644 --- a/DcsInt/DcsInt.c +++ b/DcsInt/DcsInt.c @@ -1110,7 +1110,7 @@ UefiMain( res = GetTpm(); // Try to get TPM if (!EFI_ERROR(res)) { if (gConfigBuffer != NULL) { - TpmMeasure(gConfigBuffer, gConfigBufferSize); // Measure configuration + gTpm->Measure(gTpm, DCS_TPM_PCR_LOCK, gConfigBufferSize, gConfigBuffer); // Measure configuration } if (gTpm->IsConfigured(gTpm) && !gTpm->IsOpen(gTpm) && gTPMLockedInfoDelay) { ERR_PRINT(L"TPM is configured but locked. Probably boot chain is modified!\n"); -- cgit v1.2.3