Hacker News new | past | comments | ask | show | jobs | submit login

Yeah, I'm not too worried either.

There is one class of cryptographic code, however, that is entirely unsuitable to distribute in Bitcode---DPA/EM-protected code. EM attacks on middle-end ARM chips have been demonstrated recently [1, 2].

Protecting against these attacks usually involves splitting the computation into 2 or more "shares" (see, for example, [3]); these require strict control of which register each word goes into, and which registers overwrite which. This cannot be enforced in Bitcode---or any other bytecode, for that matter---and direct assembly must be used.

[1] https://eprint.iacr.org/2015/561

[2] http://cr.yp.to/talks/2014.09.25-2/slides-dan+tanja-20140925...

[3] http://keccak.noekeon.org/NoteSideChannelAttacks.pdf




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: