4 ms·
If it’s not clear from the title, this article is about maintaining the constant-time property of Rust cryptographic libraries when compiler optimizations tend
by SkyMarshal 5y ago
If it’s not clear from the title, this article is about maintaining the constant-time property of Rust cryptographic libraries when compiler optimizations tend to compromise that property.
There should probably be some kind ——constant-time compiler flag to prevent the compiler from compromising that property when it’s a higher priority than raw performance.
- vlovich123 5y agoThere’s so many optimization passes that happen in a compiler that I doubt such a flag is feasible. The CT types work is probably a better avenue.