Re: [PATCH net-next v6 0/6] tls: perform TLS 1.3 KeyUpdate in the kernel

From: Martin Belanger

Date: Fri Dec 04 2026 - 14:47:30 EST


Hi Sabrina,

On 12/4/26 12:21, Sabrina Dubroca wrote:
> This is in (slow) progress, and includes KeyUpdate support, which is
> quite complex:
>
https://lore.kernel.org/all/20260917224355.2288021-1-rjethwani@xxxxxxxxxxxxxxx/
>
> Since TLS offload is currently transparent to users, we want it to
> also be transparent for 1.3.

Thank you, I had missed this series. It corrects what I wrote to
Chuck: the device path does not need a new driver op. In v17 the
rekey goes through the TLS_TX/TLS_RX setsockopt update, and the
device code installs the key.

The in-kernel KeyUpdate will install its keys through the same path
as that update, instead of calling tls_set_sw_offload() directly.
Then an offloaded socket gets KeyUpdate without extra code, and
offload stays transparent.

> If you have time, you could run some tests using those patches.

I do not have a NIC with TLS offload at the moment. If I get access
to one, I will test the series.

Martin