3 ms·
Rust doesn't guarantee timing, but there are crates that carefully construct constant-time primitives that should work with current Rust, such as https://crates
by JoshTriplett 6y ago
Rust doesn't guarantee timing, but there are crates that carefully construct constant-time primitives that should work with current Rust, such as https://crates.io/crates/subtle-ng https://crates.io/crates/subtle-ng .
Personally, I would love to see enhancements to Rust and LLVM that would make it possible to provide such guarantees in pure Rust.
- fuklief 6y agoWord on the block is that there is a RFC to add support for secret types in LLVM, and Rust is waiting for them to also provide it in Rust [0]. [0]: https://github.com/rust-lang/rfcs/pull/2859 https://github.com/rust-lang/rfcs/pull/2859