liboqs icon indicating copy to clipboard operation
liboqs copied to clipboard

Introduce constant time build variable

Open baentsch opened this issue 1 year ago • 1 comments

With https://github.com/open-quantum-safe/liboqs/pull/1618 CT testing toggles to testing the reference code. At the same time we enable building optimized code (activated in most use cases). If the optimized code for some algorithms doesn't have the CT property what about introducing a build option to request a "CT binary"? Optimized (and reference) code for those algorithms that have this property for both code types and reference code only where the optimized code is not CT.

baentsch avatar Dec 02 '23 07:12 baentsch

I like this idea, and I think it could help us delineate the boundary between "production" and "experimental" versions. A "production" build of the library could include only those implementations (and schemes) which clear the constant-time tests, whereas an "experimental" build could include others which are included more for, well, experimental purposes and aren't held to the same standard.

SWilson4 avatar Dec 04 '23 14:12 SWilson4