~/talk

What If We Ask Linux to Do Cryptography for Us?

links:none on file
slides:none on file

Proposal: move private keys from user space into the Linux kernel and call crypto there from Golang or Rust via system calls, replacing user-space libraries. It shows how to provision keys into the Linux kernel key retention service (key store) with go unix.AddKey or equivalent Rust syscalls, fetch a key serial, and perform AES-CBC (128/192/256) via the Linux crypto API. Built examples work but run ~2x slower than OpenSSL due to syscall copies; zero-copy 64KB can reduce that.

AI-written summary · about

  1. 0:00Linux cryptography intro
  2. 1:05Crypto basics & memory safety
  3. 7:36Memory leaks & process separation
  4. 9:03Linux key retention service
  5. 13:07Go with key store
  6. 15:57Rust with key store
  7. 18:44Linux Crypto API
  8. 21:16Go Crypto API integration
  9. 25:16Rust Crypto API integration
  10. 26:22Performance & security
  11. 27:27Summary & resources
~/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.