forked from wolfSSL/wolfssl
Removed unnecessary headers
This commit is contained in:
@@ -27,42 +27,21 @@
|
|||||||
#include <wolfssl/wolfcrypt/settings.h>
|
#include <wolfssl/wolfcrypt/settings.h>
|
||||||
|
|
||||||
#ifdef WOLFSSL_IMXRT_DCP
|
#ifdef WOLFSSL_IMXRT_DCP
|
||||||
|
|
||||||
#ifdef NO_INLINE
|
|
||||||
#include <wolfssl/wolfcrypt/misc.h>
|
|
||||||
#else
|
|
||||||
#define WOLFSSL_MISC_INCLUDED
|
|
||||||
#include <wolfcrypt/src/misc.c>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <wolfssl/wolfcrypt/aes.h>
|
#include <wolfssl/wolfcrypt/aes.h>
|
||||||
#include <wolfssl/wolfcrypt/sha.h>
|
#include <wolfssl/wolfcrypt/sha.h>
|
||||||
#include <wolfssl/wolfcrypt/sha256.h>
|
#include <wolfssl/wolfcrypt/sha256.h>
|
||||||
#include <wolfssl/wolfcrypt/error-crypt.h>
|
#include <wolfssl/wolfcrypt/error-crypt.h>
|
||||||
#include "fsl_device_registers.h"
|
|
||||||
#include "fsl_debug_console.h"
|
|
||||||
|
|
||||||
#if defined(__DCACHE_PRESENT) && (__DCACHE_PRESENT == 1U) && defined(DCP_USE_DCACHE) && (DCP_USE_DCACHE == 1U)
|
#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."
|
#error "DCACHE not supported by this driver. Please undefine DCP_USE_DCACHE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef DCP_USE_OTP_KEY
|
#ifndef DCP_USE_OTP_KEY
|
||||||
#define DCP_USE_OTP_KEY 0 /* Set to 1 to select OTP key for AES encryption/decryption. */
|
#define DCP_USE_OTP_KEY 0 /* Set to 1 to select OTP key for AES encryption/decryption. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "fsl_device_registers.h"
|
|
||||||
#include "fsl_debug_console.h"
|
|
||||||
#include "fsl_dcp.h"
|
#include "fsl_dcp.h"
|
||||||
|
|
||||||
#ifdef USE_FAST_MATH
|
|
||||||
#include <wolfssl/wolfcrypt/tfm.h>
|
|
||||||
#elif defined WOLFSSL_SP_MATH
|
|
||||||
#include <wolfssl/wolfcrypt/sp_int.h>
|
|
||||||
#else
|
|
||||||
#include <wolfssl/wolfcrypt/integer.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef SINGLE_THREADED
|
#ifndef SINGLE_THREADED
|
||||||
#define dcp_lock_init() wolfSSL_CryptHwMutexInit()
|
#define dcp_lock_init() wolfSSL_CryptHwMutexInit()
|
||||||
#define dcp_lock() wolfSSL_CryptHwMutexLock()
|
#define dcp_lock() wolfSSL_CryptHwMutexLock()
|
||||||
|
Reference in New Issue
Block a user