From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.224.135 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796125687; b=wKmg24E5z3Xrw6+RpIPXDDiYteSkXUiAeOmyUmHS7DRAG4BLktRmmM17fOWUPo+fBmgs 5HkjwX0Purog6saI81/vmBFzDzVGxu/qYHPOcGxE/FFIABe1T8OLOoqyEhEIAbNafd1/r WOwQP8a25wfooY4MOloPZnUqroyk9PVHfAjsE4sycfqsjwfAjRRoyKlqJ74C2lCzgI7nB kxgPsEs+QUmdbD8XVHiSOQjw5zwF+mcpE43P/XVi4nIkQSRZy7C2Wep8juOFyQzz4aysu BEc6+e1ndruspCjAguirqvEFyFsMvPwd/jgZXft2wSyMJKhN7r4YA0QU/584kMHWJ4g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796125687; 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:From:To:Cc:References: Content-Language:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=NbyVGHmp1Y/HYy90qOk1Q1gPIPKVLvcd2tskUd605iM=; b=jgKoeG27U3hzXqM8Vr8x4yGzMCN7wRYfw2HcY5ye5dZqRSjYDJbBpof0orZ3adUOaA7+ +zu8a3HJvFyYSPflVdBj8Q6OEZjj3ufEZBdV9fmwhed1ynn6z5PTBr/2gEuIoxebzgUgs uzm1EuI8mh1WWBIfno/BxpTi+VxWv/R67fD403iv2qXo9iNoWU/cI5Bpk/v0pk1hGlFtz E0BsuWMTmgDCo1InqjvejKEigvt3gzJk72jI2hAL4OT0Bmwn3iRXH7mntp2sF86he0Jid EyJqVUxJn5k6cbwuMeIp2RNcjhzrG+lYuRFOlrOEfn3jv7Emum6rhg1H6CBI5FtGY5A== 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=oohNB5Qw; arc=none smtp.remote-ip=74.125.224.135 Received: from mail-yx2-f7.google.com (mail-yx2-f7.google.com [74.125.224.135]) (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 7EF3E606A31A for ; Tue, 1 Dec 2026 11:48:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7EF3E606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com 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=oohNB5Qw Received: by mail-yx2-f7.google.com with SMTP id 956f58d0204a3-67a3d39e406so4800490d50.1 for ; Tue, 01 Dec 2026 03:48:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796125686; x=1796730486; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=NbyVGHmp1Y/HYy90qOk1Q1gPIPKVLvcd2tskUd605iM=; b=oohNB5QwKLDReXAtNg8hUJ8RRDp3RnJ5ML8bfSzA+eDE672rx3yZwzhcf5is+2sE+F spSlNPlsxM0KVfn2ZvThNcfVQ5YVjgfHT+mxufoJm4cH589RVbBViOLtZXKsAuiY4AOo rCfEms/f0wzFmHqpdw5C+w/AkzhuPeZLlIoDiS0Qs3Wi04jaZEfK11kyVLMcLWEXPAgT KpEl8mxUYGbfto29xlK4W+saNYTbxFUtsUfIqKYs5OKRN/aCuUz9sEYAmT/5V6xrelrt 4oo7e4RLJAUoIRVNN4HUhiUxDSHpue12FEY3ABvh+nYQdtOUduYwmQgpFqOphfKs1lLO 6aWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796125686; x=1796730486; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:from: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=NbyVGHmp1Y/HYy90qOk1Q1gPIPKVLvcd2tskUd605iM=; b=v173UZK1nIjn4in/Vwuq+pmzrB39uyjtCTb31D58bcH6sJlyOhVT9l0AXl9hpmTHdU tic6xr++H2zsPb7ng3VXoAksSfIpXDVKyCLtrCXRlEktWZgq60oYiXOcL1uEp/BkPDmt B3Ou4YHHnNuWN7H7pSW6dAXxye1BcNRZqUT69dIKB/UVwE0ByZKk/1MRCjqfu1aZgpse /VTB4QNJxvJ/0V2mBCXpAf0KAVbXyGU/EvqAbo7kz7hTmIj6ERnliSL97y3SPL2cPj4q sF+cPx8u6TpeDWh8PW2GLXLugyN8StxaEGDOK6oa1NpNBxRMI/OMrzzmu0pMLon+Ygna jBgg== X-Forwarded-Encrypted: i=1; AL+hErHcackg7Pzmp/W8PuoTP7dn93P5jq+9Gw3AvbuUJTLyXRk7t/0s2umdD1kVVLBADKOwy8twWB8=@vger.kernel.org X-Gm-Message-State: APuU4Z+wgyYz/qx+4Cqwf1wbr8x+00HvRXyQ1e2WQNr2qMiELAfzIPn/ QWgGfhtC/aLbAeJ2gb+yeVMX2p5lgqiJI5fs6atExItR8HfwqcUI1E0+ X-Gm-Gg: AZFdTZegu2dPTgb5pDXLA/xvofDUoRTLUeYfiwvmAJzwe6vtuCvRw36113/CBXMN6Dg ste3tn17KG4O3ZH2C3lLY0+VRSwSL+UH1iqHWV9BVOPk3g0xSvxbph+BZLhQV3Rm45Id89yQHUz mgKcr88G4LChP/B4NN7FpssVmxNbYo4ioluheb/MubeuC7CYFyvAbSruNH1VBYsutUE5zUyfe3o OiFWrF+7/iM6lh3jKBRWViRdG3mAsiAZw/vjHTo9BQF3D3nZplJ+Fuu4Xs9d2SWFPN93dJ1YEXd PNKoMPYrSAzbSlPe23bIFzAwkouwsK0HLWo2aFWOr2gMh5pO0l1ltvS4ZhrvBuA58juMWEhcR8Q f9yoFJJFcJu7KwmhRd+8k19at8kTxO59SsHCFGE2KVXQRAWPeL2zxXRktmuXINzRduxj5c0cylx ny7mF8P8xePsvjvpBZOfRfp/WOyrLj65gA6RMe02cAhkny/oRGv7OnRuiNiJ5FzbuoUGcaB0oMr tGKsVAG91BgDV9JK8YaM+ShYEooytWgDshbhiUDFhGnLKqx+ZXTBZnBaJom8gonXo0/x3ulvp7l iQ8D46VlR3pNr8vjsLJYnuq/XEvZPc3pYA== X-Received: by 2002:a05:690e:4393:b0:67d:c305:ca20 with SMTP id 956f58d0204a3-67df441f410mr12118865d50.45.1796125686626; Tue, 01 Dec 2026 03:48:06 -0800 (PST) Received: from [10.0.0.48] ([71.69.222.122]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-67df3378f59sm15845495d50.14.2026.12.01.03.48.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Dec 2026 03:48:06 -0800 (PST) Message-ID: <2228d9a4-4c13-49e9-a29c-cc89e2734de0@gmail.com> Date: Tue, 1 Dec 2026 06:48:05 -0500 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v6 0/6] tls: perform TLS 1.3 KeyUpdate in the kernel From: Martin Belanger To: Sabrina Dubroca Cc: John Fastabend , Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Jonathan Corbet , Shuah Khan , Randy Dunlap , Shuah Khan , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Hannes Reinecke , Chuck Lever , kernel-tls-handshake@lists.linux.dev, linux-nvme@lists.infradead.org, Alistair Francis , Martin Belanger , Daniel Pereira References: <20261105-keyupdate-rfc-v6-0-99b695f9eb4f@gmail.com> <7f9b7ab9-9728-42be-a5c1-9e8e62c23ab9@gmail.com> Content-Language: en-US In-Reply-To: <7f9b7ab9-9728-42be-a5c1-9e8e62c23ab9@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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