Merge "fix(mbedtls): fix mbedtls coverity issues" into integration

This commit is contained in:
Manish V Badarkhe 2023-03-03 10:54:43 +01:00 committed by TrustedFirmware Code Review
commit 88844f6de2
2 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015-2023, ARM Limited and Contributors. All rights reserved.
*
* Copyright 2020 NXP
*
@ -8,6 +8,7 @@
#include <stddef.h>
#include <common/tbbr/cot_def.h>
#include <drivers/auth/auth_mod.h>
#if USE_TBBR_DEFS

View file

@ -7,7 +7,14 @@
#ifndef COT_DEF_H
#define COT_DEF_H
/*
* Guard here with availability of mbedtls config since PLAT=lx2162aqds
* uses custom tbbr from 'drivers/nxp/auth/tbbr/tbbr_cot.c' and also may
* build without mbedtls folder only with TRUSTED_BOOT enabled.
*/
#ifdef MBEDTLS_CONFIG_FILE
#include <mbedtls/version.h>
#endif
/* TBBR CoT definitions */
#if defined(SPD_spmd)