#tls #ktls #encryption #linux-kernel

ktls

Configures kTLS for tokio-rustls client and server connections

10 stable releases (5 major)

6.0.2 Apr 7, 2025
6.0.1 Sep 26, 2024
6.0.0 Aug 14, 2024
5.0.0 Mar 11, 2024
1.0.1 Oct 21, 2022

#1530 in Cryptography

Download history 25/week @ 2025-01-19 43/week @ 2025-01-26 40/week @ 2025-02-02 25/week @ 2025-02-09 5/week @ 2025-02-16 4/week @ 2025-02-23 6/week @ 2025-03-02 1/week @ 2025-03-16 6/week @ 2025-03-23 4/week @ 2025-03-30 151/week @ 2025-04-06 28/week @ 2025-04-13 21/week @ 2025-04-20 39/week @ 2025-04-27

240 downloads per month
Used in loona

MIT/Apache

52KB
989 lines

test pipeline Coverage Status (codecov.io) Crates.io license: MIT/Apache-2.0

ktls

Configures kTLS (kernel TLS offload) for any type that implements AsRawFd, given a rustls ServerConnection.

License

This project is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

Dependencies

~13–31MB
~630K SLoC