Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/Targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -5058,8 +5058,8 @@ echo -n "pBOOT" > trigger_magic.bin
./tools/bin-assemble/bin-assemble \
update.bin \
0x0 wolfboot.bin \
0x9800 test-app/image_v1_signed.bin \
0x24800 test-app/image_v2_signed.bin \
0xB800 test-app/image_v1_signed.bin \
0x25800 test-app/image_v2_signed.bin \
0x3F7FB trigger_magic.bin

# Use JLink to load
Expand Down
14 changes: 8 additions & 6 deletions include/user_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ extern int tolower(int c);
# else
# define HAVE_ECC_SIGN
# define HAVE_ECC_VERIFY
#ifndef PKCS11_SMALL
#if !defined(PKCS11_SMALL) && !defined(WOLFCRYPT_TEST) && !defined(WOLFCRYPT_BENCHMARK)
# define HAVE_ECC_CDH
#endif
# define WOLFSSL_SP_MATH
Expand Down Expand Up @@ -326,9 +326,11 @@ extern int tolower(int c);
!defined(WOLFCRYPT_TEST) && !defined(WOLFCRYPT_BENCHMARK)
# define NO_SHA256
# endif
#ifndef WOLFSSL_SHA512
#define WOLFSSL_SHA512
#endif
# ifndef WOLFSSL_SHA512
# define WOLFSSL_SHA512
# define WOLFSSL_NOSHA512_224
# define WOLFSSL_NOSHA512_256
# endif
#endif

/* If SP math is enabled determine word size */
Expand Down Expand Up @@ -420,8 +422,7 @@ extern int tolower(int c);

#if (defined(WOLFBOOT_TPM_SEAL) && defined(WOLFBOOT_ATA_DISK_LOCK)) || \
defined(WOLFBOOT_ENABLE_WOLFHSM_CLIENT) || \
defined(WOLFBOOT_ENABLE_WOLFHSM_SERVER) || \
defined(WOLFCRYPT_TEST) || defined(WOLFCRYPT_BENCHMARK)
defined(WOLFBOOT_ENABLE_WOLFHSM_SERVER)
# define WOLFSSL_BASE64_ENCODE
#else
# define NO_CODING
Expand Down Expand Up @@ -599,6 +600,7 @@ extern int tolower(int c);
#ifndef WOLFSSL_STATIC_MEMORY_TEST_SZ
#define WOLFSSL_STATIC_MEMORY_TEST_SZ (10 * 1024)
#endif
#define WOLFSSL_STATIC_MEMORY_LEAN

/* Enable SP math digit operations */
#define WOLFSSL_SP_MUL_D
Expand Down