2 ms·
Agree. memset should be secure by default. That means it should not be optimized away by the compiler. And second the secure variant should flush the content, s
by rurban 7y ago
Agree. memset should be secure by default. That means it should not be optimized away by the compiler. And second the secure variant should flush the content, so that cache attacks can not read secrets which were memset'ed, but still in the cache on broken CPU's (Intel).
- saagarjha 7y agosloooooooooooooooow. No, really, do you want a full flush every time you do a memset? That would be horrendous for performance.