Skip to content

Commit ed5d8f8

Browse files
committed
update several files in wolfcrypt/src/port/arm to include libwolfssl_sources.h;
update wolfcrypt/src/port/af_alg, wolfcrypt/src/port/devcrypto, and wolfcrypt/src/port/kcapi to include libwolfssl_sources.h; remove a slew of includes across lib sources made redundant by libwolfssl_sources.h.
1 parent 1f34b71 commit ed5d8f8

46 files changed

Lines changed: 29 additions & 243 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/dtls13.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@
2727
#include <wolfssl/internal.h>
2828
#include <wolfssl/ssl.h>
2929
#include <wolfssl/wolfcrypt/aes.h>
30-
#include <wolfssl/wolfcrypt/error-crypt.h>
3130
#include <wolfssl/wolfcrypt/kdf.h>
32-
#include <wolfssl/wolfcrypt/logging.h>
33-
#include <wolfssl/wolfcrypt/types.h>
3431

3532
#ifdef NO_INLINE
3633
#include <wolfssl/wolfcrypt/misc.h>

wolfcrypt/src/aes.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ block cipher mechanism that uses n-bit binary string parameter key with 128-bits
9393
#include <wolfcrypt/src/port/ti/ti-aes.c>
9494
#else
9595

96-
#include <wolfssl/wolfcrypt/logging.h>
97-
9896
#ifdef NO_INLINE
9997
#include <wolfssl/wolfcrypt/misc.h>
10098
#else
@@ -348,7 +346,6 @@ block cipher mechanism that uses n-bit binary string parameter key with 128-bits
348346
#elif defined(HAVE_COLDFIRE_SEC)
349347
/* Freescale Coldfire SEC support for CBC mode.
350348
* NOTE: no support for AES-CTR/GCM/CCM/Direct */
351-
#include <wolfssl/wolfcrypt/types.h>
352349
#include "sec.h"
353350
#include "mcf5475_sec.h"
354351
#include "mcf5475_siu.h"

wolfcrypt/src/asn.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ ASN Options:
106106
* usage.
107107
*/
108108

109-
#include <wolfssl/wolfcrypt/error-crypt.h>
110109
#ifndef NO_RSA
111110
#include <wolfssl/wolfcrypt/rsa.h>
112111
#if defined(WOLFSSL_XILINX_CRYPT) || defined(WOLFSSL_CRYPTOCELL)

wolfcrypt/src/chacha.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ Public domain.
7878
/* BEGIN ChaCha C implementation */
7979
#if defined(HAVE_CHACHA)
8080

81-
#include <wolfssl/wolfcrypt/logging.h>
8281
#include <wolfssl/wolfcrypt/cpuid.h>
8382

8483
#ifdef CHACHA_AEAD_TEST

wolfcrypt/src/cmac.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
#include <wolfcrypt/src/misc.c>
4848
#endif
4949

50-
#include <wolfssl/wolfcrypt/error-crypt.h>
5150
#include <wolfssl/wolfcrypt/aes.h>
5251
#include <wolfssl/wolfcrypt/cmac.h>
5352

wolfcrypt/src/des3.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,6 @@
440440

441441
#elif defined(HAVE_COLDFIRE_SEC)
442442

443-
#include <wolfssl/wolfcrypt/types.h>
444-
445443
#include "sec.h"
446444
#include "mcf5475_sec.h"
447445
#include "mcf5475_siu.h"

wolfcrypt/src/dh.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
#endif
3737

3838
#include <wolfssl/wolfcrypt/dh.h>
39-
#include <wolfssl/wolfcrypt/error-crypt.h>
40-
#include <wolfssl/wolfcrypt/logging.h>
4139

4240
#ifdef WOLFSSL_HAVE_SP_DH
4341
#include <wolfssl/wolfcrypt/sp.h>

wolfcrypt/src/falcon.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#endif
3333

3434
#include <wolfssl/wolfcrypt/falcon.h>
35-
#include <wolfssl/wolfcrypt/error-crypt.h>
3635
#ifdef NO_INLINE
3736
#include <wolfssl/wolfcrypt/misc.h>
3837
#else

wolfcrypt/src/ge_low_mem.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#ifdef ED25519_SMALL /* use slower code that takes less memory */
2828

2929
#include <wolfssl/wolfcrypt/ge_operations.h>
30-
#include <wolfssl/wolfcrypt/error-crypt.h>
3130
#ifdef NO_INLINE
3231
#include <wolfssl/wolfcrypt/misc.h>
3332
#else

wolfcrypt/src/logging.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ void WOLFSSL_TIME(int count)
258258
/* the requisite linux/kernel.h is included in wc_port.h, with incompatible warnings masked out. */
259259
#elif defined(FUSION_RTOS)
260260
#include <fclstdio.h>
261-
#include <wolfssl/wolfcrypt/wc_port.h>
262261
#define fprintf FCL_FPRINTF
263262
#else
264263
#include <stdio.h> /* for default printf stuff */

0 commit comments

Comments
 (0)