mirror of https://github.com/wolfSSL/wolfBoot.git
Fix warnings for test-app crypto test
parent
812397109d
commit
459ec8a7d6
|
|
@ -188,6 +188,7 @@ WOLFCRYPT_SUPPORT=0
|
|||
# full crypto test (AES, RNG, MAA math, ECDHE).
|
||||
ifeq ($(TARGET),max32666)
|
||||
ifeq ($(WOLFCRYPT_MAX32666_TEST),1)
|
||||
STACK_USAGE_LIMIT:=5200
|
||||
CFLAGS += -DWOLFCRYPT_MAX32666_TEST
|
||||
CFLAGS += -DMAX3266X_RNG -DMAX3266X_AES -DMAX3266X_MATH
|
||||
CFLAGS += -DHAVE_ECC_CDH -DHAVE_ECC_DHE
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
#include "hal.h"
|
||||
#include "wolfboot/wolfboot.h"
|
||||
#include "printf.h"
|
||||
#include "hal/max32666.h"
|
||||
|
||||
#ifdef WOLFCRYPT_MAX32666_TEST
|
||||
#include <wolfssl/wolfcrypt/settings.h>
|
||||
|
|
@ -24,6 +23,11 @@
|
|||
#include <wolfssl/wolfcrypt/ecc.h>
|
||||
#include <wolfssl/wolfcrypt/random.h>
|
||||
#include <wolfssl/wolfcrypt/port/maxim/max3266x.h>
|
||||
#endif
|
||||
|
||||
#include "hal/max32666.h"
|
||||
|
||||
#ifdef WOLFCRYPT_MAX32666_TEST
|
||||
|
||||
/*
|
||||
* AES-GCM 256-bit known-answer test
|
||||
|
|
|
|||
Loading…
Reference in New Issue