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=p+UoyMId79BRyw2JXLnJeeYcUoyrxrMI76ElWVjsZasbFxZXBcAqjqd2y6tsuTNYBe8d WIScuZPpAEA6gEe6rwmPq/1MdtM9jVsgkk2NBMChChrirPzlnp73+Bk7rZPBU2U9UyACf DuYps5TvyQGSGWq/lB2SLMlBFdFIgQl21hDy4owLjZXxeMYbvZH0xXxwBQ0leoMOdzxAB o0Y7wi3aVx61kWQt+rnuZRcRcy9OO2GwWe+v2NSoDRQNr4keAWjGKh1nwbZyqUrLxzml+ vxcas87NXidgLNI3cJVBUlwiza53a7ma5/KwTzi5Z+PtOhkgagA8H7pXrz8VBbVnAiA== 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=xGLcEBDPPQQBwnn+uWxinR7w5oDN8bFiFxL5tu45XvuFZFh450iWK5ZcUcr2TYnvVodL CrWBNenvrU0LuY7g3MO9VbS0RpRSjkkBAOhFkH+26uR/CtKRbe3N3kRX6t67uhxTtKQq7 o3yHXlb3M6tWU4USdMRDmDngf68YusTubJLbb11LdAbXOpQkMqIuJOVyOGCupySG2GFyf aMnhMJ31nf6NKhA9Fb0LgXm0chpnDFWWfXtUo89tqSyooXMreh2F7831Awdwm9/rdDpu1 RR0C5LvUL0VyjZAFUkuKj45BNgqgc0eF3KziPQsoXYZFdZaAlSlgfUMcAPRIMph6dgg== 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 7F114606A325 for ; Tue, 1 Dec 2026 11:48:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7F114606A325 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-67a3d39e406so4800491d50.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=eIjfSzproFbbsUUBXBYmI3mJFcFIgvOcJjkNa9Wjpn05JkzvRkAN7sqhgnK1VcUN19 WmW8cYXnHssJPluyS8+UL18GsV33XCanh3N5DmCTNwc2tMp0n/D+MtOFGYb9CZ6B9wVc JUXBElC8ntBS9CQMPF4QkX5Rc0kM7JJlEXJoyJPTq671HgAqVSAneO0VpYSs01doQNTF cw3kxAaUk7eSUwrAwyUuFy4jabURSxoAPzImdjFkHnx3k6HvLVrANHKpaKy7SAHrUbwd IlY+09q4aS+lf7BuT7jTt1GoKOUDkmb6/7TY0l2E6zNYd45xpYx7dL1JEZ716cDsGac8 6hIg== X-Forwarded-Encrypted: i=1; AL+hErFxOnPefFqe9+WwKPZKn+weock+jckQihHUR/PafGvRi9+dXWHgQ2cIVCrUuFULUq3Tt6DwMdiTA1s2qEY=@vger.kernel.org X-Gm-Message-State: APuU4Z/IEUZ3/GgTbZ/vDUD8d/O45RHdks5UqCtzK9LDqLDAtx9S+G0A iPWWSoi7W189jjNPTLJsqw6ubysvJR9eS3/eUk5iFinOUFzNOifS7Yq0 X-Gm-Gg: AZFdTZe21kZHmCupWLCGYupEfQokU0Tcym20JYeycsaRf2GbxyoWYCLW9swDjpxSIes OEH0rCheLcRpxRiZpyz025ag5ckpkqaGvLolzG+sfxjpR2Yp6xTbk7h6FVivTB34EjP8bp/AIjb 0vIdQ3T0FTHOC/J7ot9vC4r+Rwq8KfzEm+kK0qn1qP+mXKMrspHoHwMtui9A9sa2XxHNh8zYici 8Uf/BI11z/7qkxoBUWXqFSP1295WvxWKat29l4p7uFH1M+LSK8KQ1R3JC8ePs167iM34TCuOtxg GbzkpRTr+dnUz+rOfPZCVinp+R8CwB4HdT1Yxu9Lzqx1iTg62dGEtk38grgAlPTToo5yAdkoa9V 6wpCl0E502HZ3Hzr/RBTW3unsrP+CPRC73v13nQZQ4HCM1AvI6xHIZPjnfjQVtYuxrAMYL3OxHu kUTiFWWeLlaW/ogHnCNaz1yE0uyXz8yiRjy01GC0XFkRDKV6fm1PqrMVaHYyWiT4tFTBa3pxmHu jwhMogGp08UFSmEFm2CT60VbYZY6iD1K0I4rD69NS2RNx13DKm3mpiibi9ZoM2ANWgnSObpTHPD LnJAaUkbpJUuiLi0tVUs7VsXKN9P4ckzGQ== 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: linux-kernel@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