Get the latest tech news

Constant-time support coming to LLVM: Protecting cryptographic code


Trail of Bits developed constant-time coding support for LLVM 21 that prevents compilers from breaking cryptographic implementations vulnerable to timing attacks, introducing the __builtin_ct_select family of intrinsics that preserve constant-time properties throughout compilation.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of llvm

llvm

Photo of time support

time support

Photo of cryptographic code

cryptographic code

Related news:

News photo

Machine Scheduler in LLVM – Part II

News photo

RadeonSI ACO vs. LLVM Backends For AMD Strix Halo

News photo

59 Patches Allow Finally Building Glibc With LLVM's Clang Compiler