~/talk

CryptOpt: Verified Compilation with Randomized Program Search for Cryptographic Primitives

Talkat PLDI 2023 · 2023-06-17..06-21· [cryptography, compilers-and-language-design]
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
name:David Wu
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

CryptOpt turns Fiat Cryptography IR into x86-64 assembly by running a random local search over instruction selection and scheduling, auto-benchmarking candidates on target CPUs, then proving equivalence with a formally verified checker implemented in Coq. Results show per-function speedups (example 60% vs Clang in a microexample; curve25519 multiply ~19% faster on average) and new fastest-known field-arithmetic for Curve25519 and secp256k1 on Intel 12th/13th gens, with end-to-end machine-checked correctness.

AI-written summary · about

  1. 0:00CryptOpt introduction and goals
  2. 1:45Handwritten vs compiler assembly
  3. 2:51Random search for assembly
  4. 6:04Performance vs baseline
  5. 7:08Field study results
  6. 8:11Scalar multiplication results
  7. 9:14Proving assembly correctness
  8. 10:39CryptOpt achievements summary
  9. 11:42Q&A
~/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.