~/talk

Why you shouldn't write crypto functions yourself

Talkat DevConf.CZ 2019 · 2019-01-25..01-27· [security]
links:none on file
slides:none on file

A simple RSA powmod becomes a minefield: correct math plus big integers needs GMP, prime generation and a cryptographic RNG, CRT optimizations, and blinding to defeat timing attacks. PKCS#1 padding mistakes and cache side channels leak keys, forcing constant-time copy routines and branchless logic. A working, hardened implementation grows from one call to dozens of functions, dozens of commits over weeks, and a measurable speed versus security tradeoff.

AI-written summary · about

  1. 0:00Start
  2. 1:54Attacks based on poor practices
  3. 4:42Basic tools needed to implement RSA
  4. 6:00RSA decryption using GMP
  5. 6:41Faster RSA decryption
  6. 7:28Attacks on implementations
  7. 10:20Blinding
  8. 11:43Checking
  9. 12:14One defense from Bleichenbacher
  10. 12:50Attacks based on CPU architecture
  11. 14:30Defeating Cache/Timing attacks
  12. 17:09Example
~/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.