Skip to content

support kernel TLS and offload on Linux #66224

@wfurt

Description

@wfurt

Linux Kernel supports TLS framing and it also allows to offload encryption to network interface if the HW supports it.
https://www.kernel.org/doc/html/latest/networking/tls-offload.html

In essence after initial handshake and certificate validation, symmetric session keys ar negotiated. The build encryption is pretty simple and it can be done by kernel, possibly with HW offload.
There is already support for this in OpenSSL when using standard BIO interface. SslStream does not use that so we cannot benefit from it even on system with HW support.

This can provide interesting performance benefit.

Metadata

Metadata

Assignees

Labels

area-System.Net.SecurityenhancementProduct code improvement that does NOT require public API changes/additionsos-linuxLinux OS (any supported distro)tenet-performancePerformance related issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions