Hacker News new | past | comments | ask | show | jobs | submit
>which need to be written in assembly to avoid timing attacks

Assembly provides no timing guarantees. You will want something higher level built on top of assembly that can guarantee it for a specific processor.