aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/eltan/security/verified_boot/Makefile.inc
diff options
context:
space:
mode:
authorWim Vervoorn <wvervoorn@eltan.com>2019-10-30 15:55:21 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-01 11:46:44 +0000
commitac4896fbcb07b01a10d177fead4c3e82268e0531 (patch)
treedc68c8a5c8da1fa18394f47837658da4bdb14024 /src/vendorcode/eltan/security/verified_boot/Makefile.inc
parenteb48bb4fc8d699e1d373876216eb63b32d57d094 (diff)
vendorcode/eltan/security: Use vb2 public key
Start using the vb2 public key format and process the signature verification using the vb2 routines. This allows us to use the futility to prepare the keys and eliminates the need for custom tools. BUG=N/A TEST=tested on fbg1701 board Change-Id: Id5d28595bbfb1f5ca5bca0fcfb06134bb1143f25 Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36480 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Diffstat (limited to 'src/vendorcode/eltan/security/verified_boot/Makefile.inc')
-rw-r--r--src/vendorcode/eltan/security/verified_boot/Makefile.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vendorcode/eltan/security/verified_boot/Makefile.inc b/src/vendorcode/eltan/security/verified_boot/Makefile.inc
index 3f6ba904c4..357e520298 100644
--- a/src/vendorcode/eltan/security/verified_boot/Makefile.inc
+++ b/src/vendorcode/eltan/security/verified_boot/Makefile.inc
@@ -37,12 +37,10 @@ endif # ($(CONFIG_VENDORCODE_ELTAN_VBOOT_SIGNED_MANIFEST),y)
ifeq ($(CONFIG_VENDORCODE_ELTAN_VBOOT_SIGNED_MANIFEST),y)
cbfs-files-y += vboot_public_key.bin
-vboot_public_key.bin-file := $(obj)/vboot_public_key.bin
+vboot_public_key.bin-file := $(call strip_quotes, $(CONFIG_VENDORCODE_ELTAN_VBOOT_KEY_FILE))
vboot_public_key.bin-position := $(CONFIG_VENDORCODE_ELTAN_VBOOT_KEY_LOCATION)
vboot_public_key.bin-type := raw
-$(obj)/vboot_public_key.bin:
- dd if=/dev/zero of=$@ bs=$(CONFIG_VENDORCODE_ELTAN_VBOOT_KEY_SIZE) count=1
endif # ($(CONFIG_VENDORCODE_ELTAN_VBOOT_SIGNED_MANIFEST),y)
endif # CONFIG_VENDORCODE_ELTAN_VBOOT