3 ms·
I suppose then "adding timing noise" here would also require making sure instructions don't have fixed and dependable execution times, because then you can just
by alkonaut 8y ago
I suppose then "adding timing noise" here would also require making sure instructions don't have fixed and dependable execution times, because then you can just manufacture a clock by incrementing a number and knowing how many clock cycles the increment is. So an increment cannot be a known number of cycles. It does sound messy.
- amelius 8y agoBut then you'd have to increase execution times, and here we are ...
- alkonaut 8y agoThat's true of course. So basically adding timing noise is equivalent to adding artificial slowdowns. The only upside I suppose is that it might solve all timing sidechannel attacks in one go. So it's not 3% for one and 4% for the next and so on. It's a one time cost to disable timing as an attack vector.
- throwaway2048 7y agoAdding randomness doesn't solve the issue, it just slows it down somewhat. Fast operations are still going to be faster on average, etc.
- wongarsu 7y agoAdding random delay makes timing attacks more costly by not impossible. Any random noise can simply be filtered out by performing the attack multiple times and averaging the measurements. This even works over the network with milliseconds of random delays.