4 ms·
If you have unsafe Rust code in your crypto code, you're doing it wrong.
by Animats 8y ago
If you have unsafe Rust code in your crypto code, you're doing it wrong.
- adwn 8y agoEven unsafe Rust code is a bit safer than C. For example, in Rust unsafe code, using an uninitialized variable leads to a compiler error – you have to use something explicit like std::mem::uninitialized.
- oconnor663 8y agoI'm not aware of any SIMD frameworks that are advanced enough to spare me from writing unsafe code yet, particularly if I want to ship multiple implementations and detect support dynamically. Also I'm not sure you can get any constant time guarantees today without calling into C or asm.