diff --git a/src/update_flash.c b/src/update_flash.c index 87231936..68ef8d40 100644 --- a/src/update_flash.c +++ b/src/update_flash.c @@ -814,6 +814,7 @@ static int RAMFUNCTION wolfBoot_update(int fallback_allowed) ext_flash_lock(); #endif hal_flash_lock(); + inverse = 1; } return wolfBoot_delta_update(&boot, &update, &swap, inverse, resume); diff --git a/tools/test.mk b/tools/test.mk index 2025e5bf..1491ebe5 100644 --- a/tools/test.mk +++ b/tools/test.mk @@ -996,5 +996,5 @@ test-size-all: LIMIT=8322 NO_ARM_ASM=1 make keysclean make clean - make test-size SIGN=ML_DSA ML_DSA_LEVEL=2 LIMIT=18870 \ + make test-size SIGN=ML_DSA ML_DSA_LEVEL=2 LIMIT=18880 \ IMAGE_SIGNATURE_SIZE=2420 IMAGE_HEADER_SIZE?=8192