第 2 部分:利用 LLVM 的 optnone 改进 Rust 密码学代码
blog.trailofbits.com | 博客 | #rust | #cryptography | #llvm | #compilers | #constant-time | #side-channels
摘要
Trail of Bits 系列第二篇:为 rustc 实现 optnone 属性,让开发者可对安全关键函数关闭优化,避免编译器破坏常数时间密码学代码。文章还分析了该特性生成的 LLVM IR 以及指令选择等后续代码生成阶段可能遇到的问题。
- 发布时间
- 收录时间
Skip to content