Re: [PATCH net-next v6 6/6] selftests/tls: add KeyUpdate tests

From: Martin Belanger

Date: Tue Nov 10 2026 - 12:10:39 EST




On 11/9/26 12:18, netdev-bot+sashiko@xxxxxxxxxx wrote:
> If the AF_ALG hash interface is missing, should these tests skip rather
> than fail?

Yes. v7 will skip these tests when AF_ALG HMAC is not available.

> This isn't a bug, but does any test check the next-generation secret,
> key and IV against an independent calculation?

No. v7 will derive the next key in user space and compare it with
getsockopt(TLS_TX) after a KeyUpdate.

> Could the test also check that a KeyUpdate sent from cfd now reaches
> user space on fd?

Yes. v7 will add that check.