chore(core): decrease tropic polling interval
What changed, and why it matters
This commit changes build settings for the Tropic secure chip integration used in Trezor T3W1 hardware. It reduces the delay between retry attempts when reading from the chip and increases the maximum number of retries. The stated purpose is to decrease the polling interval, likely to improve responsiveness or reliability of communication with the Tropic chip. There is no direct evidence in the commit that this fixes a security vulnerability.
No immediate security action required. Treat as normal build tuning. If reviewing for security, verify in libtropic source that LT_L1_READ_MAX_TRIES and LT_L1_READ_RETRY_DELAY_MS are used only for polling loops and do not introduce excessive busy-waiting, denial-of-service, or timing side-channel risks in secure-element operations.
Security signals we found
Tropic/libtropic is a secure-element integration layer; changes to its retry timing could affect availability or side-channel timing, but no unsafe pattern is visible in the diff
No bounds, input validation, cryptographic, or memory-safety changes are present
Commit is tagged as chore with [no changelog], suggesting routine maintenance
Evidence from the diff
The commit adds two compile-time defines across five build configuration files for T3W1 (emulator and revA/B/C hardware): LT_L1_READ_RETRY_DELAY_MS=1 and LT_L1_READ_MAX_TRIES=1250. These control the Tropic libtropic L1 read retry behavior. The change reduces the per-try delay from whatever default the library uses to 1 ms, while raising the retry ceiling to 1250. This is described as a ‘chore’ to decrease polling interval, with no changelog entry. The change is consistent with a timing/robustness tuning rather than a security patch.
Changed components
Trezor T3W1 emulator build configurationTrezor T3W1 revA/revB/revC hardware build configurationcore/embed/sec/tropic build.rsvendor/libtropic Tropic01 integrationInspect captured patch +10 / −0
diff --git a/core/embed/sec/tropic/build.rs b/core/embed/sec/tropic/build.rs
index 7ffc7b49..7e7e2628 100644
--- a/core/embed/sec/tropic/build.rs
+++ b/core/embed/sec/tropic/build.rs
@@ -56,6 +56,8 @@ pub fn def_module(lib: &mut CLibrary) -> Result<()> {
lib.add_defines([
("LT_USE_TREZOR_CRYPTO", Some("1")),
("LT_HELPERS", Some("1")),
+ ("LT_L1_READ_RETRY_DELAY_MS", Some("1")),
+ ("LT_L1_READ_MAX_TRIES", Some("1250")),
]);
Ok(())
diff --git a/core/site_scons/models/T3W1/emulator.py b/core/site_scons/models/T3W1/emulator.py
index 2eb769bf..7673a089 100644
--- a/core/site_scons/models/T3W1/emulator.py
+++ b/core/site_scons/models/T3W1/emulator.py
@@ -122,6 +122,8 @@ def configure(
paths += ["vendor/libtropic/TROPIC01_fw_update_files/boot_v_1_0_1/fw_v_1_0_0"]
defines += [("LT_SILICON_REV_ABAB", "1")]
+ defines += [("LT_L1_READ_RETRY_DELAY_MS", "1")]
+ defines += [("LT_L1_READ_MAX_TRIES", "1250")]
if "input" in features_wanted:
sources += ["embed/io/touch/unix/touch.c"]
diff --git a/core/site_scons/models/T3W1/trezor_t3w1_revA.py b/core/site_scons/models/T3W1/trezor_t3w1_revA.py
index c6f3fd60..8c22c1fb 100644
--- a/core/site_scons/models/T3W1/trezor_t3w1_revA.py
+++ b/core/site_scons/models/T3W1/trezor_t3w1_revA.py
@@ -229,6 +229,8 @@ def configure(
paths += ["vendor/libtropic/TROPIC01_fw_update_files/boot_v_1_0_1/fw_v_1_0_0"]
defines += [("LT_SILICON_REV_ABAB", "1")]
+ defines += [("LT_L1_READ_RETRY_DELAY_MS", "1")]
+ defines += [("LT_L1_READ_MAX_TRIES", "1250")]
if "sbu" in features_wanted:
sources += ["embed/io/sbu/stm32/sbu.c"]
diff --git a/core/site_scons/models/T3W1/trezor_t3w1_revB.py b/core/site_scons/models/T3W1/trezor_t3w1_revB.py
index f8b37249..87c030ca 100644
--- a/core/site_scons/models/T3W1/trezor_t3w1_revB.py
+++ b/core/site_scons/models/T3W1/trezor_t3w1_revB.py
@@ -231,6 +231,8 @@ def configure(
paths += ["vendor/libtropic/TROPIC01_fw_update_files/boot_v_1_0_1/fw_v_1_0_0"]
defines += [("LT_SILICON_REV_ABAB", "1")]
+ defines += [("LT_L1_READ_RETRY_DELAY_MS", "1")]
+ defines += [("LT_L1_READ_MAX_TRIES", "1250")]
if "sbu" in features_wanted:
sources += ["embed/io/sbu/stm32/sbu.c"]
diff --git a/core/site_scons/models/T3W1/trezor_t3w1_revC.py b/core/site_scons/models/T3W1/trezor_t3w1_revC.py
index 944778ce..afbdab83 100644
--- a/core/site_scons/models/T3W1/trezor_t3w1_revC.py
+++ b/core/site_scons/models/T3W1/trezor_t3w1_revC.py
@@ -245,6 +245,8 @@ def configure(
paths += ["vendor/libtropic/TROPIC01_fw_update_files/boot_v_2_0_1/fw_v_1_0_0"]
defines += [("LT_SILICON_REV_ACAB", "1")]
+ defines += [("LT_L1_READ_RETRY_DELAY_MS", "1")]
+ defines += [("LT_L1_READ_MAX_TRIES", "1250")]
if "sbu" in features_wanted:
sources += ["embed/io/sbu/stm32/sbu.c"]
Why this scored 11/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.