security/intel/cbnt: Build test CBnT provisioning

This updates the intel-sec-tools submodule pointer to include a fake
acm binary to be included for buildtesting.

Change-Id: Id4a9e177f71306b8c5538a578da229a53d19487a
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55609
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Arthur Heymans 2021-06-17 13:01:58 +02:00 committed by Werner Zeh
parent c05aa26a1f
commit c44ffc3084
3 changed files with 10 additions and 1 deletions

@ -1 +1 @@
Subproject commit ae3a2cfb27eb18176d6a19720327f3f0c839de43
Subproject commit 0031ac73447baeb197fb2d80e5fba2470716e76d

View File

@ -0,0 +1,8 @@
CONFIG_VENDOR_OCP=y
CONFIG_INTEL_TXT_BIOSACM_FILE="3rdparty/intel-sec-tools/testdata/fake_acm/biosacm_cbnt_fake.bin"
CONFIG_INTEL_TXT_LOGGING=y
CONFIG_INTEL_CBNT_SUPPORT=y
# CONFIG_INTEL_CBNT_CBNT_PROV_KM_USE_CFG_FILE is not set
# CONFIG_INTEL_CBNT_CBNT_PROV_BPM_USE_CFG_FILE is not set
CONFIG_INTEL_CBNT_KM_PRIV_KEY_FILE="3rdparty/intel-sec-tools/testdata/testkeys/km_priv_key.pem"
CONFIG_INTEL_CBNT_BPM_PRIV_KEY_FILE="3rdparty/intel-sec-tools/testdata/testkeys/bpm_priv_key.pem"

View File

@ -85,6 +85,7 @@ ifneq ($(JENKINS_SKIP_LINT_TESTS),y)
util/lint/lint lint-stable --junit
util/lint/lint lint-extended --junit
endif
cd 3rdparty/intel-sec-tools/ ; go mod vendor
util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/chromeos $(ABUILD_OPTIONS) -x -X $(top)/abuild-chromeos.xml
util/abuild/abuild -o $(COREBOOT_BUILD_DIR)/default $(ABUILD_OPTIONS)
$(foreach tool, $(TOOLLIST), $(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR="util/$(tool)" BLD="$(tool)" MFLAGS= MAKEFLAGS= MAKETARGET= junit.xml; )