~/talk

RFC: Secret types in Rust

Talkat RustFest Global 2020 · 2020-11-07..11-08· [rust, security]
links:none on file
links:none on file
slides:none on file

Claim: empty asm! directives and empty functions can block LLVM optimizations so secret-dependent masks survive, and empty asm! directives or a volatile read mostly work but are ugly unsupported hacks on stable Rust and succeed about 90 percent of the time. RFC 2859 proposes secret primitive types and compiler/LLVM guarantees that disallow branching or indexing on secret values, forbid variable‑time instructions, add declassify, and require implementation work — currently a proposal not yet landed.

AI-written summary · about

  1. 0:00Intro
  2. 0:17Overview
  3. 1:37Outline
  4. 2:23Timing side channels
  5. 3:34Constant time
  6. 8:43Why use Rust
  7. 11:02Secret types in Rust
  8. 12:51Optimization barriers
  9. 16:45Why arent these protections good enough
  10. 17:17RFC 2859
  11. 18:19Example
  12. 18:38Two parts
  13. 19:34QA
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.