Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 16CC93B6BEB for ; Mon, 30 Mar 2026 10:28:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774866508; cv=none; b=bRyjtqu5meei7JqhV+WgmbCQ09rpOQ3csVzZZfgcXsapFifIcmKIL3It+WWY22feZmrRkFxDNLHPglUUbcufXyQi+ivDeC86/LVutsZoZmuwKesn1/dH4rPSE+0kh2NzKJ8S/LnuYJRRpJIVtxJf4VL0wo0CjUa6xfLug6oV/AU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774866508; c=relaxed/simple; bh=RS385VPDleBfp1bmhBrra0A0DkwvGMLnN++JSJ10NTI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DfItOTmbxv4PZXQ4uPNIYLzTp0G61b/+Eldq12M6wp/5C4tF2HIdCFNKROzMD4vEKE/BPMCmQHYJx5I9igOiqrv6euIUs9hGcvyFy3HkyzemeSJpIeBF8rDJWeFDUYW8Zdgi4i2t8djRV1kWlGHRcl+sLhlvRHluPEihysQGJTw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=jo460ajS; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="jo460ajS" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id A89254E42866; Mon, 30 Mar 2026 10:28:25 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 5EAB85FFA8; Mon, 30 Mar 2026 10:28:25 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 1EB1D10450601; Mon, 30 Mar 2026 12:28:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1774866504; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=5RqGKX5OEOPSMRA6JcG3jBau2b2QXhFOzsKnGj4WdfI=; b=jo460ajSdk6xjufaXRzXewidZKJg5dEfjTkYw+0T+CgS07pmhbg+HJZK32nuI/28HJlUkQ YeWiSDwmXyTNefHT2DLBrp9pweWWBwzDVmBdCwVbW4EoXjcgSaINBPumlYZeF8MSo2o4Z4 gdhg4LYT5nj6mGQt8kHWSXljuSOQiJ/nXMy7GVIzkDsJX8r/pFQdysdeS/IqOUEzxMojDu CJlM4gd+aqS0oFzrqv7qlgJt90HiaxGPDmJCtpJkFyWqrsvMpjWArT4BLBbMTf3jfKEGVR l1nOQx02Hl4/EyPIiTreCTCTMip6GAts5afBcibtD97r2Kklj4kMO/ZvyU/R9Q== From: Paul Louvel To: Herbert Xu , "David S. Miller" , Paolo Abeni , David Howells Cc: Paul Louvel , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Thomas Petazzoni , Herve Codina Subject: [PATCH 0/2] talitos SEC1 ahash 32k request limitation Date: Mon, 30 Mar 2026 12:28:17 +0200 Message-ID: <20260330102820.29914-1-paul.louvel@bootlin.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Hi, The first patch fixes the ahash request size limitation of 32k in the talitos driver. This limitation is due to the fact that the driver was using a single descriptor for the whole request, which is not enough to handle larger requests. A change in the crypto core introduced the regression. The patches split the request into multiple descriptors if needed, allowing to handle requests larger than 32k. The second patch is just cosmetic changes in order to make the code more readable and consistent with the fix. Thank you, Paul. Paul Louvel (2): crypto: talitos - fix SEC1 32k ahash request limitation crypto: talitos - rename first/last to first_desc/last_desc drivers/crypto/talitos.c | 254 +++++++++++++++++++++++++-------------- 1 file changed, 166 insertions(+), 88 deletions(-) -- Paul Louvel, Bootlin Embedded Linux and Kernel engineering https://bootlin.com