Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do you prevent the compiler optimizing constant-time operations into non-constant time?


You would want to specify a version of GHC and optimization flags, then it would just involve code analysis of your output.

Likely this work would be necessary to "prove" (not in the strict form) your assumptions about constant-time anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: