The Cloudflare Blog

The Cloudflare Blog -

The Linux Crypto API for user applications

If you run your software on Linux, the Linux Kernel itself can satisfy all your cryptographic needs! In this post we will explore Linux Crypto API for user applications and try to understand its pros and cons

本文比较了Linux Kernel Crypto API和OpenSSL的加密性能,使用bpftrace工具测量了它们加密相同数据的时间。结果显示,Kernel Crypto API的加密速度比OpenSSL慢两倍,但实际上只有81%的差距。作者认为,Kernel Crypto API的加密性能与OpenSSL相当,但需要更好的用户空间接口来提高速度。使用Crypto API是一个权衡速度和安全性的主观决定。

Linux Kernel Crypto API OpenSSL api bpftrace工具 linux 加密性能 用户空间接口

相关推荐 去reddit讨论

热榜 Top10

eolink
eolink
观测云
观测云
Dify.AI
Dify.AI
LigaAI
LigaAI

推荐或自荐