From 20aa516e79146a85d326694822de23d2b39cd2a7 Mon Sep 17 00:00:00 2001 From: ccli8 Date: Thu, 21 Sep 2017 15:43:32 +0800 Subject: [PATCH] [NUC472/M487] Refine config check code --- .../mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.h | 2 ++ .../mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.h | 2 ++ .../mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h | 2 ++ .../mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h | 2 ++ .../mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h | 2 ++ .../mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.h | 2 ++ 6 files changed, 12 insertions(+) diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.h index 648c9988db..912c4865c6 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/aes/aes_alt.h @@ -23,6 +23,8 @@ #ifndef MBEDTLS_AES_ALT_H #define MBEDTLS_AES_ALT_H +#include "mbedtls/aes.h" + #if defined(MBEDTLS_AES_C) #if defined(MBEDTLS_AES_ALT) // Regular implementation diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.h index cf4e6908aa..9fda2763a1 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/des/des_alt.h @@ -17,6 +17,8 @@ #ifndef MBEDTLS_DES_ALT_H #define MBEDTLS_DES_ALT_H +#include "mbedtls/des.h" + #if defined(MBEDTLS_DES_C) #if defined(MBEDTLS_DES_ALT) diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h index 9c0a92f368..9471b628ba 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha1_alt.h @@ -16,6 +16,8 @@ #ifndef MBEDTLS_SHA1_ALT_H #define MBEDTLS_SHA1_ALT_H +#include "mbedtls/sha1.h" + #if defined(MBEDTLS_SHA1_C) #if defined(MBEDTLS_SHA1_ALT) diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h index c23c7eae5e..eedca82eea 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha256_alt.h @@ -16,6 +16,8 @@ #ifndef MBEDTLS_SHA256_ALT_H #define MBEDTLS_SHA256_ALT_H +#include "mbedtls/sha256.h" + #if defined(MBEDTLS_SHA256_C) #if defined(MBEDTLS_SHA256_ALT) diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h index 1d85833d46..f4c6f75b37 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_M480/sha/sha512_alt.h @@ -16,6 +16,8 @@ #ifndef MBEDTLS_SHA512_ALT_H #define MBEDTLS_SHA512_ALT_H +#include "mbedtls/sha512.h" + #if defined(MBEDTLS_SHA512_C) #if defined(MBEDTLS_SHA512_ALT) diff --git a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.h b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.h index 648c9988db..912c4865c6 100644 --- a/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.h +++ b/features/mbedtls/targets/TARGET_NUVOTON/TARGET_NUC472/aes/aes_alt.h @@ -23,6 +23,8 @@ #ifndef MBEDTLS_AES_ALT_H #define MBEDTLS_AES_ALT_H +#include "mbedtls/aes.h" + #if defined(MBEDTLS_AES_C) #if defined(MBEDTLS_AES_ALT) // Regular implementation