Constant-time cryptography
Constant-time cryptography
Posted Mar 18, 2024 7:05 UTC (Mon) by DemiMarie (subscriber, #164188)In reply to: LLVM ist a mess by khim
Parent article: Cranelift code generation comes to Rust
This is not the first time I have seen this suggestion. It is also completely non-viable in practice. The security core will be much slower than the other cores, which will ruin performance. One can avoid that by using a hardware accelerator instead of a slow core, but then one needs to (a) patch all of the existing applications and libraries to use the accelerator and (b) deal with the fact that hardware accelerators, especially for symmetric cryptography, require an asynchronous API to get good performance. That requires application changes, not just library ones.
Hardware crypto engines are nice, but they are not at all a substitute for constant time guarantees for software operations.
