3
I have a branching in c++:
if (x & 1)
{
x = function_1(x);
}
else
{
x = function_2(x);
}
If function_1 and function_2 are constant time and it takes the same time to compute them, is such branching still vulnerable for side-channel attacks? Can attacker somehow know which condition was e...