From b195447fcb0c1f7fbc23ea16d99ff597b431cafd Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 19 Dec 2025 16:42:04 +0800 Subject: [PATCH] add swap key to the list of keys managed on baosec not sure why this wasn't added earlier.... --- libs/bao1x-api/src/offsets/baosec.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/bao1x-api/src/offsets/baosec.rs b/libs/bao1x-api/src/offsets/baosec.rs index d9a245e97..667a4bad0 100644 --- a/libs/bao1x-api/src/offsets/baosec.rs +++ b/libs/bao1x-api/src/offsets/baosec.rs @@ -144,5 +144,5 @@ pub const DATA_SLOTS: [SlotIndex; 8] = [ /// In addition to these KEY_SLOTS, the DEVELOPER_MODE one way counter is a security-important parameter /// that should be included as domain separation in any KDF. -pub const KEY_SLOTS: [SlotIndex; 7] = - [THE_FLAG_1, CP_COOKIE, RMA_KEY, ROOT_SEED, NUISANCE_KEYS_0, NUISANCE_KEYS_1, CHAFF_KEYS]; +pub const KEY_SLOTS: [SlotIndex; 8] = + [THE_FLAG_1, CP_COOKIE, RMA_KEY, ROOT_SEED, NUISANCE_KEYS_0, NUISANCE_KEYS_1, SWAP_KEY, CHAFF_KEYS];