From 38631d248177e2deb6c99f7da99059fe85cbaca0 Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Fri, 17 Oct 2025 13:16:31 +0200 Subject: [PATCH] Fixed regression in delta fallback --- src/update_flash.c | 1 + tools/test.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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