mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 20:54:41 +02:00
Do not directly include psoc6 port header to prevent loops
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
#include <wolfssl/wolfcrypt/settings.h>
|
#include <wolfssl/wolfcrypt/settings.h>
|
||||||
#include <wolfssl/version.h>
|
#include <wolfssl/version.h>
|
||||||
#include <wolfssl/wolfcrypt/wc_port.h>
|
#include <wolfssl/wolfcrypt/wc_port.h>
|
||||||
|
#include <wolfssl/wolfcrypt/ecc.h>
|
||||||
|
|
||||||
/* Macro to disable benchmark */
|
/* Macro to disable benchmark */
|
||||||
#ifndef NO_CRYPT_BENCHMARK
|
#ifndef NO_CRYPT_BENCHMARK
|
||||||
|
@@ -29,6 +29,7 @@
|
|||||||
#include "cy_crypto_common.h"
|
#include "cy_crypto_common.h"
|
||||||
#include "cy_crypto_core.h"
|
#include "cy_crypto_core.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef WOLFSSL_SHA512
|
#ifdef WOLFSSL_SHA512
|
||||||
#include <wolfssl/wolfcrypt/sha512.h>
|
#include <wolfssl/wolfcrypt/sha512.h>
|
||||||
#endif
|
#endif
|
||||||
|
@@ -65,6 +65,13 @@
|
|||||||
#include "fsl_dcp.h"
|
#include "fsl_dcp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(WOLFSSL_PSOC6_CRYPTO)
|
||||||
|
#include "cy_crypto_core_sha.h"
|
||||||
|
#include "cy_device_headers.h"
|
||||||
|
#include "cy_crypto_common.h"
|
||||||
|
#include "cy_crypto_core.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@@ -94,9 +101,6 @@
|
|||||||
#if defined(WOLFSSL_SILABS_SE_ACCEL)
|
#if defined(WOLFSSL_SILABS_SE_ACCEL)
|
||||||
#include <wolfssl/wolfcrypt/port/silabs/silabs_hash.h>
|
#include <wolfssl/wolfcrypt/port/silabs/silabs_hash.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(WOLFSSL_PSOC6_CRYPTO)
|
|
||||||
#include <wolfssl/wolfcrypt/port/cypress/psoc6_crypto.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#define SHA256_NOINLINE __declspec(noinline)
|
#define SHA256_NOINLINE __declspec(noinline)
|
||||||
|
@@ -80,7 +80,10 @@
|
|||||||
#include <wolfssl/wolfcrypt/port/silabs/silabs_hash.h>
|
#include <wolfssl/wolfcrypt/port/silabs/silabs_hash.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(WOLFSSL_PSOC6_CRYPTO)
|
#if defined(WOLFSSL_PSOC6_CRYPTO)
|
||||||
#include <wolfssl/wolfcrypt/port/cypress/psoc6_crypto.h>
|
#include "cy_crypto_core_sha.h"
|
||||||
|
#include "cy_device_headers.h"
|
||||||
|
#include "cy_crypto_common.h"
|
||||||
|
#include "cy_crypto_core.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
Reference in New Issue
Block a user