A pitfall of Rust’s move/copy/drop semantics and zeroing data

We are using Rust extensively in the firmware of the BitBox02 hardware wallet. In a security device like this, you don’t want to leave sensitive material in memory for longer than necessary. In particular, when the value is being dropped, the memory shoul… Read more

Similar