bitbox02-sys/build.rs: remove unused funcs
What changed, and why it matters
This commit removes two unused function names from an internal build list. It is a cleanup change with no visible security effect. The functions being removed from the list were not actually used anywhere, so nothing in the running firmware changes.
No security action needed. Treat as routine cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff deletes ‘keystore_copy_bip39_seed’ and ‘keystore_copy_seed’ from ALLOWLIST_FNS in src/rust/bitbox02-sys/build.rs. This list tells bindgen which C functions to generate Rust bindings for. Removing names that are not called simply reduces the generated bindings; it does not alter firmware behavior, remove runtime code, or change access controls. The commit message explicitly states this was a rebase error re-introducing unused functions.
Changed components
src/rust/bitbox02-sys/build.rsInspect captured patch +0 / −2
diff --git a/src/rust/bitbox02-sys/build.rs b/src/rust/bitbox02-sys/build.rs
index c4e4bbe..a29bb5c 100644
--- a/src/rust/bitbox02-sys/build.rs
+++ b/src/rust/bitbox02-sys/build.rs
@@ -76,8 +76,6 @@ const ALLOWLIST_FNS: &[&str] = &[
"fake_securechip_event_counter",
"gmtime",
"keystore_bip39_mnemonic_to_seed",
- "keystore_copy_bip39_seed",
- "keystore_copy_seed",
"keystore_encrypt_and_store_seed",
"keystore_get_bip39_word",
"keystore_secp256k1_nonce_commit",
Why this scored 15/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.