Skip to content

Commit 53ea85b

Browse files
committed
rust: remove unused function
Same func exists in bitbox02::memory, must have slipped in here by accident.
1 parent 2e380b2 commit 53ea85b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/rust/bitbox02/src/securechip.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ pub fn attestation_sign(challenge: &[u8; 32], signature: &mut [u8; 64]) -> Resul
2323
}
2424
}
2525

26-
pub fn bootloader_hash(out: &mut [u8; 32]) {
27-
unsafe {
28-
bitbox02_sys::memory_bootloader_hash(out.as_mut_ptr());
29-
}
30-
}
31-
3226
pub fn monotonic_increments_remaining() -> Result<u32, ()> {
3327
let mut result: u32 = 0;
3428
match unsafe { bitbox02_sys::securechip_monotonic_increments_remaining(&mut result as _) } {

0 commit comments

Comments
 (0)