News Score: Score the News, Sort the News, Rewrite the Headlines

Constant-time support coming to LLVM: Protecting cryptographic code at the compiler level

Trail of Bits has developed constant-time coding support for LLVM 21, providing developers with compiler-level guarantees that their cryptographic implementations remain secure against branching-related timing attacks. This work introduces the __builtin_ct_select family of intrinsics and supporting infrastructure that prevents the Clang compiler, and potentially other compilers built with LLVM, from inadvertently breaking carefully crafted constant-time code. This post will walk you through what...

Read more at blog.trailofbits.com

© News Score  score the news, sort the news, rewrite the headlines