diff --git a/wolfcrypt/src/port/nxp/dcp_port.c b/wolfcrypt/src/port/nxp/dcp_port.c index 532ed03d8..081bf256f 100644 --- a/wolfcrypt/src/port/nxp/dcp_port.c +++ b/wolfcrypt/src/port/nxp/dcp_port.c @@ -19,11 +19,15 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA */ + #ifdef HAVE_CONFIG_H #include #endif #include + +#ifdef WOLFSSL_IMXRT_DCP + #ifdef NO_INLINE #include #else @@ -38,11 +42,11 @@ #include "fsl_device_registers.h" #include "fsl_debug_console.h" -#ifdef WOLFSSL_IMXRT_DCP #if defined(__DCACHE_PRESENT) && (__DCACHE_PRESENT == 1U) && defined(DCP_USE_DCACHE) && (DCP_USE_DCACHE == 1U) #error "DCACHE not supported by this driver. Please undefine DCP_USE_DCACHE." #endif + #ifndef DCP_USE_OTP_KEY #define DCP_USE_OTP_KEY 0 /* Set to 1 to select OTP key for AES encryption/decryption. */ #endif @@ -59,7 +63,6 @@ #include #endif - #ifndef SINGLE_THREADED #define dcp_lock_init() wolfSSL_CryptHwMutexInit() #define dcp_lock() wolfSSL_CryptHwMutexLock()