liboqs icon indicating copy to clipboard operation
liboqs copied to clipboard

CI tooling for variable-time operations on some platforms

Open dstebila opened this issue 1 year ago • 1 comments

Is there any tooling available that would have allowed us to detect #1631 and #1636?

dstebila avatar Dec 21 '23 16:12 dstebila

Preserving @cryptojedi's input (via @dstebila) so it doesn't get buried in a (hopefully) soon-to-be-merged PR.

I checked with @cryptojedi and he says that after this there shouldn't be any operations of the form /KYBER_Q left in the source code -- we could consider a CI test that grep's for those. He also writes that one could compile with -Os and then check if the output has an DIV instructions.

https://github.com/open-quantum-safe/liboqs/pull/1649#issuecomment-1877204914

SWilson4 avatar Jan 05 '24 18:01 SWilson4