3 ms·
> 'Safe for for now' No, unconditionally safe. The C standard exactly defines unsigned overflow while specifically leaving signed overflow undefined. (Pedant
by nullc 10y ago
> 'Safe for for now'
No, unconditionally safe. The C standard exactly defines unsigned overflow while specifically leaving signed overflow undefined.
(Pedantically timing is always a crapshoot in C, a compiler only need produce the same results as the abstract machine. It could freely take all your secret data and modulate it into the timing and be conforming. -- but considering that intel/amd won't make timing promises about the instructions themselves...)