From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b2-smtp.messagingengine.com (fout-b2-smtp.messagingengine.com [202.12.124.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7552522172E; Wed, 20 Aug 2025 16:00:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.145 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755705628; cv=none; b=ThISQeC7g4m1V9fjgsUadtp/0ECzWdrC493BPLl7sjBuwBMEQnS1Yakp+X3TZ5t9NdkXDf9hy3+oaW3OqUSbVTa1ixmQCkHIfsai01V3UKbQ3MypAaIpqMVIEoFaKRzxEx6mmrF/BE/Sb5ohwLsL4ljEVuf+iy9oZ6RO/mbzrec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755705628; c=relaxed/simple; bh=pdFbjSbrfhG2E0+g74s4CU0XrSLCyCQ0XaRfgWqM0WA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nniTTWycZ7lsU28AwMDe3p5EFB46BjuazZ/C1w76nK22FSKqpVR/3NJy6F6pT7lmzEmj7U9beOUUYvn17wxxUbGbCEkwcSFsIYA4uCoEalejLRXvCGOsCMHo116hWhysw2yqMC+uQWR6VkRJsmcfoxZoOJxY+kIOuP8OPDIWEs8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net; spf=pass smtp.mailfrom=queasysnail.net; dkim=pass (2048-bit key) header.d=queasysnail.net header.i=@queasysnail.net header.b=sIq1+y+J; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Z/YTTtwm; arc=none smtp.client-ip=202.12.124.145 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=queasysnail.net header.i=@queasysnail.net header.b="sIq1+y+J"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Z/YTTtwm" Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 3E2A61D001CC; Wed, 20 Aug 2025 12:00:24 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Wed, 20 Aug 2025 12:00:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=queasysnail.net; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1755705624; x= 1755792024; bh=loU7CBBnyjUHgCGgbBNnfXmum/NSUm60FC9vJCJIlc4=; b=s Iq1+y+JdlG9Goidt7+N+iQqUdRElWituLyN9dkccE6PihBfKDNs5zfJoftd7O+5q bQDqGPIT+iFoufs8EheN9u+oMoQzlW+NuPQETQMnKVHYdEyk+m7HeZvhPawgbtM+ uxkGlM8TTR7hobyQKuY/wS6+Xe8nvJguIbw8BQyHm3G8ORGix7kSjtgJZjeypLJP 3V5gew/r8kSeeV8QB1s8zGOKIeN1PLB/9AWZ9ytkbA97xoGajQbWfvr9TpjVTwmP x+T0J0KGEYPjjLVXpeXSpjtWpnAMapiAp6ekWSGZ0H8V6SMMxzBZjLDEEon3LHEW MQ3+QdmAVeEBl5Gg2IEjA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1755705624; x=1755792024; bh=loU7CBBnyjUHgCGgbBNnfXmum/NSUm60FC9 vJCJIlc4=; b=Z/YTTtwmkGFZSTwD0z4EPer6Qjddncec0sL+SFQcFB736CXdp5Y bO812v0lvFWDQ1dfVY3rQauonAm0Owv4xzw5JN0bLLiV0TCgoDaWmYwUWSBYoio3 7zmpHS4xGgVQS0lDfXUzL8VhSOYGyM1dAMHKcWJ6Ha2nT/zX/KMhzEB0//0+/pwJ 1cdKdgoLFCUi96s6OwgJXvOCKxhM5nK+855UkwuEC4SPZ5ze04rEnjroE8I0ldI6 zhGxzc8isMQ5tDH4AYj+sdCa0f6+qxz0hU1fRMoS/4XgpOq+McdVR4dqjRvjs6cw iS/zAmZHyR2oWuFd+UNE0iFo8IfXNMg8NNA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduheekjeelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfhfgggtuggjsehttdertd dttdejnecuhfhrohhmpefurggsrhhinhgrucffuhgsrhhotggruceoshgusehquhgvrghs hihsnhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpeeuhffhfffgfffhfeeuieduge dtfefhkeegteehgeehieffgfeuvdeuffefgfduffenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehsugesqhhuvggrshihshhnrghilhdrnhgvth dpnhgspghrtghpthhtohepuddtpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehk uhgsrgeskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepuggrvhgvmhesuggrvhgvmhhloh hfthdrnhgvthdprhgtphhtthhopehnvghtuggvvhesvhhgvghrrdhkvghrnhgvlhdrohhr ghdprhgtphhtthhopegvughumhgriigvthesghhoohhglhgvrdgtohhmpdhrtghpthhtoh epphgrsggvnhhisehrvgguhhgrthdrtghomhdprhgtphhtthhopegrnhgurhgvfidonhgv thguvghvsehluhhnnhdrtghhpdhrtghpthhtohephhhorhhmsheskhgvrhhnvghlrdhorh hgpdhrtghpthhtohepsghorhhishhpsehnvhhiughirgdrtghomhdprhgtphhtthhopehj ohhhnhdrfhgrshhtrggsvghnugesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i934648bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 20 Aug 2025 12:00:23 -0400 (EDT) Date: Wed, 20 Aug 2025 18:00:21 +0200 From: Sabrina Dubroca To: Jakub Kicinski Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, andrew+netdev@lunn.ch, horms@kernel.org, borisp@nvidia.com, john.fastabend@gmail.com, linux-kselftest@vger.kernel.org Subject: Re: [PATCH net 2/2] selftests: tls: add tests for zero-length records Message-ID: References: <20250820021952.143068-1-kuba@kernel.org> <20250820021952.143068-2-kuba@kernel.org> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20250820021952.143068-2-kuba@kernel.org> 2025-08-19, 19:19:52 -0700, Jakub Kicinski wrote: > Test various combinations of zero-length records. > Unfortunately, kernel cannot be coerced into producing those, > so hardcode the ciphertext messages in the test. > > Signed-off-by: Jakub Kicinski > --- > tools/testing/selftests/net/tls.c | 300 +++++++++++++++++++++++++++++- > 1 file changed, 295 insertions(+), 5 deletions(-) Reviewed-by: Sabrina Dubroca -- Sabrina