LLVM 添加了用于保护加密代码的常量时间支持。
LLVM Adds Constant-Time Support for Protecting Cryptographic Code

原始链接: https://blog.trailofbits.com/2025/11/25/constant-time-support-lands-in-llvm-protecting-cryptographic-code-at-the-compiler-level/

自2012年以来,Trail of Bits 一直致力于保护全球最受攻击的目标组织和产品。我们结合高端安全研究和现实世界攻击者的思维方式,以降低风险并加强代码。请访问我们的网站:www.trailofbits.com

## LLVM 获得常量时间加密支持 - 但存在限制 LLVM 增加了对常量时间执行的支持,旨在更好地保护加密代码免受时间攻击。此新功能有助于开发者编写执行时间不会泄露敏感信息的代码。 然而,一位评论员指出一个重大挑战:英特尔处理器可能会抵消这些保护,即使在 LLVM 的努力下,也可能重新引入时间漏洞。实现真正的常量时间执行需要硬件和操作系统级别的支持,而目前这方面的支持有限。 最初分享了一个失效的英特尔相关文章链接,但已提供一个网页存档链接供进一步阅读。尽管存在完全实施的实际障碍,但该开发仍然被认为是一个重要的进步。
相关文章

原文

Since 2012, Trail of Bits has helped secure some of the world's most targeted organizations and products. We combine high-­end security research with a real­ world attacker mentality to reduce risk and fortify code.

Visit our website at: www.trailofbits.com

联系我们 contact @ memedata.com