Constant-time goes mainstream: ct-verif tooling and BearSSL
In 2016 Almeida, Barbosa, Barthe, Dupressoir and Emmi presented ct-verif (USENIX Security 2016), a tool that formally verifies LLVM code is constant-time with respect to secrets, and Thomas Pornin released BearSSL, a TLS library written so that all cryptographic operations are constant-time by default, with a public analysis of which primitives achieve it.
Background
These two efforts mark the shift from 'constant-time as folklore' to 'constant-time as a checkable property'. Subsequent tools (dudect, ctgrind/Valgrind-based taint checks, Binsec/Rel, Jasmin and HACL*/EverCrypt verified code, Cryspen's libcrux) and the adoption of verified implementations in Firefox, Linux and the Signal/WhatsApp stacks followed. KyberSlash (2023) and Clangover (2024) showed why: compiler output and divisions can silently reintroduce timing leaks into source that looks constant-time.
A constant-time proof covers the software/ISA abstraction only; microarchitectural behaviour such as frequency scaling or data-dependent prefetching can still leak (see Hertzbleed, GoFetch).
Sources
- paperVerifying Constant-Time Implementations (USENIX Security 2016)USENIX, usenix.org
- blogBearSSL - Constant-Time CryptoBearSSL, bearssl.org