From 59402e33414fe5f4f932959922a573c1aa388beb Mon Sep 17 00:00:00 2001 From: Gowri Ramshankar Date: Tue, 19 Aug 2025 09:55:48 -0400 Subject: [PATCH] bootutil: src: image_validate.c: remove mbedtls headers removing direct inclusion of mbedtls headers. bootutil has already abstracted away mbedtls apis. Signed-off-by: Gowri Ramshankar --- boot/bootutil/src/image_validate.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/boot/bootutil/src/image_validate.c b/boot/bootutil/src/image_validate.c index f75f1de08..80c927af7 100644 --- a/boot/bootutil/src/image_validate.c +++ b/boot/bootutil/src/image_validate.c @@ -32,6 +32,8 @@ #include #include +#include + #include #include "bootutil/image.h" @@ -48,13 +50,6 @@ BOOT_LOG_MODULE_DECLARE(mcuboot); #ifdef MCUBOOT_ENC_IMAGES #include "bootutil/enc_key.h" #endif -#if defined(MCUBOOT_SIGN_RSA) -#include "mbedtls/rsa.h" -#endif -#if defined(MCUBOOT_SIGN_EC256) -#include "mbedtls/ecdsa.h" -#endif - #include "bootutil_priv.h" /*