~/talk

Modernizing Kernel Cryptography: From Complex APIs To Streamlined Libraries

Talkat Linux Security Summit North America 2026 · on Thursday, 2026-05-21· at 13:50· 101A+B· [security]
links:none on file
slides:none on file

The kernel adds straightforward library functions (first set landed in 6.17) that replace the traditional crypto API for common one‑shot and incremental ops, e.g., a direct HMAC‑SHA256 function that returns void, works in all contexts, and is two and a half times faster than the old path that cost ~2100 cycles with only 38% spent in core SHA256 (measured with perf). New features include SHAKE support (6.19), ML‑DSA verify (7.0), massive CRC wins — a 12,400% CRC64 throughput boost on AMD — KUnit tests (18 suites), and QEMU CI coverage; AF_ALG has had multiple privilege‑escalation exploits recently.

AI-written summary · about

  1. 0:00Kernel crypto modernization
  2. 1:05Why kernel crypto exists
  3. 2:09Traditional crypto API problems
  4. 3:52HMAC-SHA-256 pitfalls
  5. 6:19Crypto library approach
  6. 9:13ChaCha20-Poly1305 flaws
  7. 12:24Current crypto and CRC libraries
  8. 14:10Recent crypto improvements
  9. 18:07Testing crypto libraries
  10. 20:34Library vs traditional API
  11. 21:37Choosing algorithms
  12. 23:23AF_ALG risks and deprecation
  13. 25:30Summary and future
  14. 26:20Q&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.