Hello, if there is code like
if (condition) bla = blub;
than the timming can be different if condition is true or false.
How to make timing equal on both path?
Is
else dummy = blub;
a good idea?
Are there other ways?
Response time and current consumption has been used to attack the cryptography used in smartcards. So in some situations, it is better to have a random return time instead of trying a fixed time.