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=i3EjSLEbQTDNVsN07CGtZ6pY/dlTKO48MLVEGqmgl9lC19tHKvHO2/d5I9DrORR+UCNT GeJ1cvGxeeXXhyQr/UxyPBNm9dyYJTZ7L6ev9Tb8iT4xgkPRJdMtpsgP0PGg7vFAV0WZW vseCotg0BgmhxkbIbm3FK6N24kMU+r7rkF4HQjDGP3ciBy9KZILOHchkqhH5siD/fRoTi +Sv2Hmon/789RZcgDbfU5gqmDQDgPzj3gIfdmUztYjV/P9e6dyUo0iplZqk+Row8xSWX0 tZpknhcFvMqNVZTh85itUGQf01u3M9eKxaQ3wvTK4fke3Yrrg8mQjDgZAd29armPcfA== 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=KpHd5IPkn/skPxZamXThf2B7ZSHcikZxywOd1qjpX4HfM6PM/g0PFtKa9S5JNsaVlFbK BPa6hXtgrbQ9lF88kDjVZmAv42b0H0taAJnqYneeO9uDZq/VNKzUOxUVT4iMsR1M7OUOC HtGBBSxkok8AK23w/hcYkTUVaR2I+ize1tAUigAhDK/g6zqoc2UKexM+EgieEZAuPLZqF 42AAUTt2msUntqXVdpILQiFaJT2ns9292RzMpQiPiY/cha60QRjNAHcpsGVdvWpK4BroR ETY2GyYkx2l7tcYTs0yKJ84n99GKsqVaSbupxOzIkelWii3PBv2Ots0n5QDDbNT5kWw== 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 7EFDB606A320 for ; Tue, 1 Dec 2026 11:48:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7EFDB606A320 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-67a3d39e406so4800496d50.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=gwk33DBhY0MRUT+p4nxcuuVKoug2xunil373VaVmwmbGPOQDC6EESTu6LhDAJX1PET 7LUbo6mZ+CEAh7h4x67WebFz9zsD8vbtfvMc/AGOINbGjUCalDChy3ebuVs2bgw9Rkpn lCJN3OlAdRJ5PV3QiAhNddfdje/Imy7nUPfsa/rEM1uw1O447Qmaj54GuiD+V23/2F9g oRLxEHHyvR9LLHtpqVGwHwtMri61idbTftA0sy36QzF1JTIj6/i44AjdERROr3YeXEzz 4Vgcf3Nk6zQb+bfWYuCYh9+z7g65/EEHdRKchgq/PiYiRcjSull7CH9qrBWbvJ4sRBaj 8qSA== X-Forwarded-Encrypted: i=1; AL+hErGZpxvtRBgYBZU/Wn21KUxAMso9UezUdRxMZUNfofkBzVHidZbQtOamfkVWwGbjB5iAQ5o0HoF/8b4=@vger.kernel.org X-Gm-Message-State: APuU4Z/RHOb0oB1YoOA/Cfq4RX+uS6aRhUDNnFfqNISeONxFG8237Ljd LwABpVTtr0nE/zw8hAff+JBnOVqh9u9/ZVYqrnowXTpnn5D0nkAain8A X-Gm-Gg: AZFdTZdQ2hqidR0QVxgMhj7ZojZvCfvr/UaDEYEU7exhrveBL4UG4ABh5KkMTs1tqpl fb8N6YZiWk+AQJjc/OhxZQA7p1sjZ4FXjodn6b+VzepAvp69qyfehYgb8zEFH1Rms84HAjAsZ6T vh+2DTvhgK/cpQvQebJOYOdTWYB6a7F5y8Y58nZlbdiUPyC9Wheg6Mn12+rx7BGQzgUox2qr0Le hrmA3j9oCUal0YWxdQipsK2c06zMR5rkPDiO3dAu3un9cnttcCwPGt2zUNW54BVFfm2BWSIHqKg ibt6KOMR7tHtVAmBKDaHKlms6MJbg9fi8BrdEA+RP2OMnxZZzldVHiMfkm75l2kE9hNjrvTpHXk 1t7OMt98s6AIXHUL6+kH/veTFtjPB25ElWcjAcqRfelY2Q2x6KugvRSWjNbWBQK3TKHX7wbUHS9 JnGPrjGM5XreYY1L8FdpHOC0RLli/2Ksj8zD8Tu2WJoyfjsbiVxra66z3LKoIokMpCOdmO3SDQD 6YxNc9959/WCNwcDIqoYupurxfqaadw1z2tp1zjLJgW5vh2LVn9QvoZW0MLIni1Nxc5pRtmMSHF /RfKFBWwwD8zNupaJ8CQ7Nm7CzLEQE69Kg== 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-doc@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