From 496b83ff1b0e9cf609e7d1a36bb5c21b2beb593b Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Tue, 20 Aug 2019 13:33:49 +0100 Subject: [PATCH] Fixup: Correct include paths for TinyCrypt header files TinyCrypt header files are expected in 'tinycrypt' folder relative to the include path. --- include/mbedtls/pk.h | 2 +- library/pk_wrap.c | 4 ++-- library/pkparse.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/mbedtls/pk.h b/include/mbedtls/pk.h index 1536ebeac..c65f39c80 100644 --- a/include/mbedtls/pk.h +++ b/include/mbedtls/pk.h @@ -46,7 +46,7 @@ #endif #if defined(MBEDTLS_USE_TINYCRYPT) -#include "ecc.h" +#include "tinycrypt/ecc.h" #endif #if ( defined(__ARMCC_VERSION) || defined(_MSC_VER) ) && \ diff --git a/library/pk_wrap.c b/library/pk_wrap.c index 3edd7041e..f8afc1305 100644 --- a/library/pk_wrap.c +++ b/library/pk_wrap.c @@ -34,8 +34,8 @@ #include #if defined(MBEDTLS_USE_TINYCRYPT) -#include "mbedtls/ecc.h" -#include "mbedtls/ecc_dsa.h" +#include "tinycrypt/ecc.h" +#include "tinycrypt/ecc_dsa.h" #include "mbedtls/asn1.h" #include "mbedtls/asn1write.h" #else diff --git a/library/pkparse.c b/library/pkparse.c index 99464e0d8..26686253b 100644 --- a/library/pkparse.c +++ b/library/pkparse.c @@ -53,7 +53,7 @@ #include "mbedtls/pkcs12.h" #endif #if defined(MBEDTLS_USE_TINYCRYPT) -#include "mbedtls/ecc.h" +#include "tinycrypt/ecc.h" #endif #if defined(MBEDTLS_PLATFORM_C)