-
Notifications
You must be signed in to change notification settings - Fork 686
Open
Labels
future-workWill not be fixed in current release cycleWill not be fixed in current release cycle
Description
LLVM/Clang 22 will introduce a new function, __builtin_ct_select, which guarantees constant-time behavior by preventing compiler optimizations that could introduce branching-based timing attacks.
This proposal suggests adding a common interface that uses this built-in when compiled with Clang 22. Using this interface would improve robustness against compiler-induced regressions in constant-time code.
For more background, see: https://blog.trailofbits.com/2025/12/02/introducing-constant-time-support-for-llvm-to-protect-cryptographic-code/
Note: This is future work, as LLVM 22 has not yet been released.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
future-workWill not be fixed in current release cycleWill not be fixed in current release cycle
Type
Projects
Status
Todo
Status
Backlog