The Linux Crypto API for user applications
May 11, 2023Oxana Kharitonova

Summary
This post introduces the Linux Kernel Crypto API as a mechanism for user applications to leverage hardware-accelerated cryptographic operations. It details how applications can interact with the kernel's crypto modules, explores the performance implications of using the API compared to user-space libraries like OpenSSL, and highlights the benefits of offloading encryption/decryption to the kernel for enhanced security and performance, particularly when integrated with kernel key retention services.
More from the Hardware Infrastructure & Performance Optimization trail
- How we reduced core unit boot time from hours to minutes
- A one-line Kubernetes fix that saved 600 hours a year
- Inside Gen 13- how we built our most powerful server yet
- Launching Cloudflare’s Gen 13 servers- trading cache for cores for 2x edge compute performance
- So long, and thanks for all the fish- how to escape the Linux networking stack