Fix warnings for test-app crypto test

pull/840/head
Mattia Moffa 2026-07-16 05:43:13 +02:00 committed by Daniele Lacamera
parent 812397109d
commit 459ec8a7d6
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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