3 ms·
Not always. At least for RISC-V there is the Zkt extension which guarantees data independent execution time for some instructions. I assume there's something si
by IshKebab 2y ago
Not always. At least for RISC-V there is the Zkt extension which guarantees data independent execution time for some instructions. I assume there's something similar for ARM and x86.
It does pretty much require you to write assembly though. I think it would definitely make sense to have some kind of `[constant_time]` attribute for C++ that instructed the compiler to ensure the code is constant time.