Article View: linux.kernel.netdev
Article #27116Re: [PATCH net-next v6 0/6] tls: perform TLS 1.3 KeyUpdate in the kernel
From: Martin Belanger
Date: Fri, 04 Dec 2026 19:47
Date: Fri, 04 Dec 2026 19:47
28 lines
12897 bytes
12897 bytes
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@purestorage.com/ > > 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
Technical Details
Message-ID:
<53800e01-0902-4dd2-b609-12e797734c55@gmail.com>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377600-linux-kernel-netdev=dewy.ruReferences:
<20261105-keyupdate-rfc-v6-0-99b695f9eb4f@gmail.com> <au5JP__7P_PzwDUe@krikkit> <7f9b7ab9-9728-42be-a5c1-9e8e62c23ab9@gmail.com> <aw6-EhjhIh5TuHIt@krikkit> <f198d112-d8b1-455c-932a-e191b441a2ec@gmail.com> <9afa5b2f-e3b4-42cc-9486-605547d8f0d9@app.fastmail.com> <2e7566b3-6b8e-40fa-99f3-033d7b276207@gmail.com> <axL2iyuw7WxHz3Zp@krikkit>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377600-linux-kernel-netdev=dewy.ru
From: martin.nvme.dev@gmail.com (Martin Belanger)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v6 0/6] tls: perform TLS 1.3 KeyUpdate in the
kernel
Date: Fri, 4 Dec 2026 14:47:20 -0500
Organization: Usenet Network
Message-ID: <53800e01-0902-4dd2-b609-12e797734c55@gmail.com>
References: <20261105-keyupdate-rfc-v6-0-99b695f9eb4f@gmail.com>
<au5JP__7P_PzwDUe@krikkit> <7f9b7ab9-9728-42be-a5c1-9e8e62c23ab9@gmail.com>
<aw6-EhjhIh5TuHIt@krikkit> <f198d112-d8b1-455c-932a-e191b441a2ec@gmail.com>
<9afa5b2f-e3b4-42cc-9486-605547d8f0d9@app.fastmail.com>
<2e7566b3-6b8e-40fa-99f3-033d7b276207@gmail.com> <axL2iyuw7WxHz3Zp@krikkit>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="2848596"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:5pSyrpeUt2MaUdprCrqeX4wRGjU= sha256:HraFsUzlfCh+nU3NxgsxFeUxEpRzJt94dZP4gZzS6ec=
sha1:ig1c4x3saKVnpRHmo3e0PeB9s3k= sha256:6BB7FesuMq8bpKxuWwJaM08IySh72CErxnMPHiNvcJ0=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 214A2117CC9; Fri, 4 Dec 2026 22:47:45 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.397
X-Spam-Status: No, score=-3.397 tagged_above=-9999 required=6.31
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1,
RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id jti2JEnJbr25;
Fri, 4 Dec 2026 22:47:42 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-377600-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id 08BE1117CC2; Fri, 4 Dec 2026 22:47:34 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by tor.lore.kernel.org (Postfix) with ESMTP id 91C7B21804; Fri, 4 Dec 2026 19:47:30 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796413649;
b=E6N9xuM9ebyMgFyhaY809Xpc02M4o2fMbJ0o4vSuQhFNLxClKjbeGmHK/2N6zK8Nt9Zq
ReniSbIMUgkOPdfYSOpgNZr5wFawhwBW8RWBYnoohuTmRWKnFD0zfOjK/8hvElcR/bgTe
H/LMLszLxN51N3ieOYXXQ4bmI4ixsXYq0w2MkcB5EZVgMns8aGUhHiP0cdfE6BcOaANSY
EKPZDQC80TzekNQpCO0TRwFXWDnaOmVjXxGlEzWs1jQi8LbeD6+fpYQSiadLM7/JUZRLY
2ev++plXvaNs3aDS9Rah/FAx4JgPOBvMw+WzohWpjDHOZt8hCqTP2iUAr5+Udbz1SBA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796413649;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:Message-ID:Date:X-Mailing-List:List-Id:
List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
Precedence:MIME-Version:User-Agent:Subject:To:Cc:References:
Content-Language:From:In-Reply-To:Content-Type:
Content-Transfer-Encoding;
bh=D+sNniMbpApwM3kpcLgb9YzE/k/BVvS8ojR2pQfAN8s=;
b=zfQxL4ZgxLXwEGoCQQc1Zm5nZOiCKEYB1B9in+YyhGxPZ1wCLnGJ+e55PDiZWchNOXEF
61LfsIhKIWhFpBLKAC6uv4OG1VQyk4bkLk5Qn03/1Hg4AgFesc9ZzryGrM0xZc+iFR5Hi
OW98/PE9ZO8cpV/IXlH4+fF7tCEqlOr+Jf7MvZulBBbDqcobrYOcVQzbSTOMiir8ywJ++
mBNHDzGaDKaaQxNuxmxH8AVFU6xEsP2SWJOCNyP4ZOlWCRSq1A52SvlJoWPU74zn5avOM
y6ZkVv2NIRy/FOe7STx32WtcS0dGw+dZjB7Ic87aR4nGHx+kO8AR9rqbdUuQ9J3FZyQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="K/eI6QvC";
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 9ECC8606A322;
Fri, 4 Dec 2026 19:47:29 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=K/eI6QvC
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.219.65
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1796413643;
b=D+B+gQfnVPnwXnPmxSr9fR/Q7DJ2zKS20TX3Ubn/7WP0FTffPUi2ZYAI35l26okiks8F
VOcCYmYqro3IhdemWpQiqquT7NxfQwKJN1n60ukKavApgtUMav94yL5U8FsLGO7+FYkXE
/jq1BmVo9/j9bXYnNoUo1PzDcr1Bdec0y5vdgqUgzmQy2a0PxVijSgusnntC1wq7pnx7B
dkYgIKs0YctLunb3F9oY18grdBOStltGoAvJeBElUsRcpqA3QFTJFresgIgDG0p+7F29v
OTNQPGYNgLF22cbWL4juhhL/gTKxV7bRTmTr7ASsQofeXFnqmmuZcNGCtOR2x5+E78A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796413643;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:
Content-Language:From:In-Reply-To:Content-Type:
Content-Transfer-Encoding;
bh=D+sNniMbpApwM3kpcLgb9YzE/k/BVvS8ojR2pQfAN8s=;
b=PCVhF7b/WqRqsRwYDhIq4OiFX52oHsgwnLkbmNmiSsFuV4yqHdi+qMM33IA5bWv7QCnk
uj8Q9WUFInrzBGQanGmOdxWQUy+htIm2D4CrN2Fb8dYdeLL+Ew7mzDvfW2H9lZToLLN/t
PTB94ujjQgrLaZfeHjBTmmiMUrThVbGJr/1qAoLli/TR8E7XAOIwAQNFYGnetCCGvvTUV
l3gePB9sZDWEjEppS+yNC0Afca+RQ/18UTD9Ju6aIcm85P3p4LZ8jEtB6yBX22d9N6PZO
SZAP3g4HELoGw9EJPWNSdHyZkmStBd+c/QPLbeD+5nhNbKx/WPKNmkkfJK35HMXnLQQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="K/eI6QvC";
arc=none smtp.remote-ip=209.85.219.65
X-Received: from mail-qv1-f65.google.com (mail-qv1-f65.google.com [209.85.219.65])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70FA2606A32C
for <netdev@vger.kernel.org>; Fri, 4 Dec 2026 19:47:23 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 70FA2606A32C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-qv1-f65.google.com with SMTP id 6a1803df08f44-921d556c05dso26474786d6.0
for <netdev@vger.kernel.org>; Fri, 04 Dec 2026 11:47:23 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1796413642; x=1797018442; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:in-reply-to:from
:content-language:references:cc:to:subject:user-agent:mime-version
:date:message-id:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=D+sNniMbpApwM3kpcLgb9YzE/k/BVvS8ojR2pQfAN8s=;
b=K/eI6QvCyunVPNnfqJpynJah9A9W/QsCuZMXSt2hVpZx0wFv88QVSP42Z80synhM2r
/bch55Dmz7ImLTJh4jys6sXaQuyoYRISlEVUj4pcNZHNHrvzSrkTs2bYbwcy3/r6BxQi
lQf8wzTfz3aJACyFVyQsNLb1EVdDNqd8loBut15d+ScagWZZ4Lp1erH5IvdafDFK+//A
aYEh7NVBns5zQTqb46NwVFdd3zsut8YlrbyLYuyyjtMZiS0z5nto7BYPpReSXdcKu34J
6+7K/S+hsGNClkRTSYIwtuYJnFf+oEAOOtQ1t0CMs6cXmWaDe3+pIdwBNu8LVFO6MqZq
QzOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796413642; x=1797018442;
h=content-transfer-encoding:content-type:in-reply-to:from
:content-language:references:cc:to:subject:user-agent:mime-version
:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=D+sNniMbpApwM3kpcLgb9YzE/k/BVvS8ojR2pQfAN8s=;
b=zsQn+w4OP0P1VhicI7ue4Jaokz6JHqRGdMyM55dsayrYP0xXqYr1Rqf74Yb9gEH9il
BiCsDsFM5tXKewoYbIngZklaeo240BuxR8yByjlJRMC+0C9ELdr3zJm0x+KBctSvp593
h/gfZbSDMRUj+PTHDhtrsS43WVqikoz9eT/ad/XydbYDxiloFCDMxD/9gA8pRPqcHnr3
wyBRsqSLlEnG9VjENCExHPNmVEwOnZF2Jb1JKp3//THsBaN2P/VQB6kzoH/QiJ3n1RS/
pBmqKPP029f8/YQH5pQXieGTj/G5IpCAlYNXyzx1HDBKzlxjkloWlC48wZ3QFJpgoR1E
Enzw==
X-Forwarded-Encrypted: i=1; AL+hErEjfKwJF4NvN0DQjKMlMV1/BEjAG9emSIHUZ2EoDdS3CTBwXfP1ifrND766g1rUSELQVl7F9cg=@vger.kernel.org
X-Gm-Message-State: APuU4Z+gGoto2Tf+j2EHMJKpkAuqy9Zil6ZHqHbgKpHNbujdu+DeAnuW
8ebuK+HeQz62qURp2VXNBN+QYB0UfD/jq54FYtuPCOb3rHKGemCQQVpS
X-Gm-Gg: AZFdTZc1K+pikM5Q21zktWHPjAUqajAXlBodIF2jueot2r1blEYQjO/nBTpny9eABzd
n92KgYeGVmRdJYA6NZjvKmmdNfiogqgT7pao5adxeLi0qpIsmnc+cqifPMmmG+noso/a9ktTJKn
l8AMMVyrc/yIS6Nrry5g6c1DUr6WjjPTpbnwmuoAbuK1hVuOC7ZQHfWHlC5RkNG3ucGSkXMgKmX
r3uHM7rrgPL4PA65kydZeWToqPa0PVMtgPSXyWcp11oFkUNCqXf9VQ/hstIXZbCZTQEFo03NnGk
BbkIFuxVEIVvaraRsXwC24lB6/IYts8HZIMF0SwsIpb31BNrDFEwgqbDior7vLs0Eo2Q6lgb+67
TsTrf9VeAGaQHXbr0ff9XRptQsTxa3iLa3s1eRHcPamEKWeUSX94BXlKGgCbeUOQbQ9ApX28cd+
jHTxM9wer8TTJMCysdo/VlsShwRn1Ht1ywihy5fxIazu4EnhBzINlwy1h4XtKuxTuMpxzlczL/t
wq9TxD6vCJ3pCye7LleN8cgQDjXJV4+6s9ZYpOkkdq3AzopN3R6/H2od+08Gck13MsZcnzwAPD+
uXkUsTJ6+zt9orTkrj8SOTft5+D4TwBsj/Y=
X-Received: by 2002:a05:622a:c01:b0:547:9b43:b1b1 with SMTP id d75a77b69052e-55e28256518mr101596481cf.12.1796413642257;
Fri, 04 Dec 2026 11:47:22 -0800 (PST)
X-Received: from [10.0.0.48] ([71.69.222.122])
by smtp.gmail.com with ESMTPSA id d75a77b69052e-55e366710d8sm27347851cf.21.2026.12.04.11.47.21
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Fri, 04 Dec 2026 11:47:21 -0800 (PST)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-User-Agent: Mozilla Thunderbird
X-Cc: Chuck Lever <cel@kernel.org>, John Fastabend <john.fastabend@gmail.com>,
Jakub Kicinski <kuba@kernel.org>, "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>, Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>, Randy Dunlap
<rdunlap@infradead.org>, Shuah Khan <shuah@kernel.org>,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org,
Hannes Reinecke <hare@kernel.org>, kernel-tls-handshake@lists.linux.dev,
linux-nvme@lists.infradead.org, Alistair Francis <alistair.francis@wdc.com>,
Martin Belanger <martin.belanger@dell.com>,
Daniel Pereira <danielmaraboo@gmail.com>
X-In-Reply-To: <axL2iyuw7WxHz3Zp@krikkit>