feat: add DPE coverage and clone QCBOR library
Enable DICE_PROTECTION_ENVIRONMENT on TC platform for coverage.
The QCBOR library is required for Dice Protection Environment (DPE)
support - the DPE commands are CBOR encoded.
Change-Id: Ic218e12b57cf687f765648b62c3ce9d7ac0d1b58
Signed-off-by: David Vincze <david.vincze@arm.com>
diff --git a/script/tf-coverity/common-def.sh b/script/tf-coverity/common-def.sh
index 94f44c6..70e30ba 100644
--- a/script/tf-coverity/common-def.sh
+++ b/script/tf-coverity/common-def.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright (c) 2019-2023 Arm Limited. All rights reserved.
+# Copyright (c) 2019-2024 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -88,6 +88,9 @@
TF_M_EXTRAS_DIR=tf-m-extras
TF_M_EXTRAS_URL_REPO=https://git.trustedfirmware.org/TF-M/tf-m-extras.git
+QCBOR_LIB_DIR=qcbor
+QCBOR_URL_REPO=https://github.com/laurencelundblade/QCBOR.git
+
ARMCLANG_PATH="$(set_armclang_toolchain)"
TBB_OPTIONS="TRUSTED_BOARD_BOOT=1 GENERATE_COT=1 MBEDTLS_DIR=$(pwd)/mbedtls"