Kernel level TLS
The Backend Engineering Show with Hussein Nasser

Kernel level TLS

June 13, 202522 min

Fundamentals of Operating Systems Course https://oscourse.winktls is brilliant.TLS encryption/decryption often happens in userland. While TCP lives in the kernel. With ktls, userland can hand the keys to the kernel and the kernel does crypto. When calling write, the kernel encrypts the packet and send it to the NIC.When calling read, the kernel decrypts the packet and handed it to the userspace. This mode still taxes the host’s CPU of course, so there is another mode where the kernel offloads the crypto to the NIC device! Host CPU becomes free. Incoming packets to the NI...

Play episode

No transcript for this episode yet

You can still listen to it in the player. On episodes with a transcript, you can tap any word to see its meaning.