aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/eltan/security/mboot/mboot_func.c
diff options
context:
space:
mode:
authorWim Vervoorn <wvervoorn@eltan.com>2019-10-30 17:06:58 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-05 15:01:37 +0000
commit397ce3c45fc8d2469c07565879c09d8fb00626ec (patch)
tree8940487c56ddef7bb92a8fafc9c89ecdc4a4486d /src/vendorcode/eltan/security/mboot/mboot_func.c
parent8119841ec0da8ab088ed23961d3a3e4b25551f18 (diff)
vendorcode/eltan/security: Align mboot with coreboot tpm
Align the eltan mboot support with coreboot tpm support to limit the amount of custom code. We now only support SHA256 pcrs, only single a single digest will be handled in a call. The pcr invalidation has been changed fixed values are now loaded while the correct algortihm is selected. BUG=N/A TEST=tested on fbg1701 Change-Id: Id11389ca90c1e6121293353402a2dd464a2e6727 Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36483 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Diffstat (limited to 'src/vendorcode/eltan/security/mboot/mboot_func.c')
-rw-r--r--src/vendorcode/eltan/security/mboot/mboot_func.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vendorcode/eltan/security/mboot/mboot_func.c b/src/vendorcode/eltan/security/mboot/mboot_func.c
index ec66d345d0..67922048a2 100644
--- a/src/vendorcode/eltan/security/mboot/mboot_func.c
+++ b/src/vendorcode/eltan/security/mboot/mboot_func.c
@@ -1,7 +1,7 @@
/*
* This file is part of the coreboot project.
*
- * Copyright (C) 2018 Eltan B.V.
+ * Copyright (C) 2018-2019 Eltan B.V.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
#include <mboot.h>
-int log_efi_specid_event(EFI_TCG2_EVENT_ALGORITHM_BITMAP ActivePcrs) {
+int log_efi_specid_event(void) {
return TPM_SUCCESS;
}