]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(mbedtls): fix mbedtls coverity issues
authorGovindraj Raja <govindraj.raja@arm.com>
Tue, 28 Feb 2023 11:37:02 +0000 (11:37 +0000)
committerGovindraj Raja <govindraj.raja@arm.com>
Wed, 1 Mar 2023 12:51:43 +0000 (12:51 +0000)
commita9edc32c8964ffe047909b4847edd710b5879f35
tree038c9b9d17c85033b04e4f9c021217746e1d42f8
parent55d5c6a16ab69b2c99aedbd1aa0d3e58350f4380
fix(mbedtls): fix mbedtls coverity issues

commit (a8eadc51a refactor(mbedtls): avoid including
MBEDTLS_CONFIG_FILE) avoids using config file directly and relies on
config file usage from mbedtls version.h

But we could build trusted boot without mbedtls dir so guard version.h
include in cot_def.h with availability of config file.

Also we refactored in same commit to break dependencies between
auth_mod.h and cot_def.h, So add cot_def.h include in nxp tbbr
cot file.

Change-Id: I4779e90c18f04c73d2121c88df6420b4b1109c8b
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
drivers/nxp/auth/tbbr/tbbr_cot.c
include/common/tbbr/cot_def.h