Hi Sabrina,
I hope you are feeling better.
When you have time, could you say whether the case in my reply above
changes your view on KeyUpdate in kTLS?
The series is not only for kernel consumers. User-space libraries
benefit as well. A library above kTLS cannot count records
precisely, because the kernel splits and merges the bytes it writes.
It also cannot place a KeyUpdate at an exact point in the record
stream. With the series, GnuTLS or OpenSSL can register the traffic
secrets when they install the kTLS keys. The kernel then handles
KeyUpdate in both directions, also for sendfile() and splice().
Without the secrets, nothing changes.
If the direction is acceptable, I would like to post v7 before
net-next closes for the 7.5 merge window. v7 drops TLS_TX_KEY_UPDATE
and addresses the Sashiko findings on v6. If you still have doubts,
I will wait for your review and not post v7.
Thanks,
Martin
Re: [PATCH net-next v6 0/6] tls: perform TLS 1.3 KeyUpdate in the kernel
- From
- mart…@gmail.com (Martin Belanger)
- Organization
- Usenet Network
- Message-ID
- <2228…@gmail.com>
- Date
- Newsgroups
- linux.kernel.netdev