|
|
Log in / Subscribe / Register

Can't always turn optimizers off

Can't always turn optimizers off

Posted Apr 26, 2018 12:29 UTC (Thu) by excors (subscriber, #95769)
In reply to: Can't always turn optimizers off by wittenberg
Parent article: Security quotes of the week

Even if the compiler does what you told it to do, Spectre demonstrates that the CPU won't do what the compiler told it to do. Maybe we need to give up on the idea of implementing timing-attack-safe cryptographic primitives in software, and do it all in hardware instead.


to post comments

Can't always turn optimizers off

Posted Apr 26, 2018 14:48 UTC (Thu) by mrshiny (guest, #4266) [Link] (1 responses)

"the CPU won't do what the compiler told it to" proves that you can't always do it in hardware either.

Can't always turn optimizers off

Posted Jun 7, 2018 1:34 UTC (Thu) by JanC_ (subscriber, #34940) [Link]

Especially as fixing the hardware is often not possible (or at least requires hardware vendor intervention).


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds