From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 991D3371CEA; Wed, 20 May 2026 18:42:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779302544; cv=none; b=oUySvn50mijh4DqjtnpajwwsxFLIj+V1Kb9GZns6biQEKSfTHg4Fnw7oHcK0/EeDn7+yTs2z1DofuV8DQ3Q6x4+GUZE13RXthXm3BNQ6ztAbMKxDMrQrtB3HYnzmlME9uPATCbYeP4g2HI7gkjDadJriJLzDDTleZ57N6/bXJyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779302544; c=relaxed/simple; bh=mMllXNOXXC+QClaZ97R6tNYFWnHf8VRj/WomKdnHTAk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YDsCqyHZTcQrnf+j+KLUsddnsgTSdlRqti1eBbIhwSVcJA5IyfTy7dx2ZbpqByf6dNRBfKB35Z1nnE3tTJzLFUxnlC4fJD7OkAedQdAzivcuBPLr1Vjb8CavWFCyic8dEIUgHYlO+srlJO9IvZCfwrz6Yfcv2hlLEWo2K4jRs7A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YM7A6VR4; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YM7A6VR4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09F9D1F000E9; Wed, 20 May 2026 18:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779302543; bh=s0dzWOp02HcUdaNwo9FbtHeHApvC+JwsrrtMSil1Klk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=YM7A6VR485QodV+h8WPNpXH8sv4JAmCHTY7TTTWs77DSd+H42WDj8FReUDJ7FxvjL Td/9o1xZH5G3ouYJZAfsSBGNROLTaHVRtT27LNMYBQPWzYD+Wwf6txkIAB7YYcUq3u SDkpy2h9xjlHaDB66ObSh6Uf30jJolGJGeCQqKiw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, T Pratham , Manorit Chawdhry , Herbert Xu , Sasha Levin Subject: [PATCH 6.6 300/508] crypto: sa2ul - Fix AEAD fallback algorithm names Date: Wed, 20 May 2026 18:22:03 +0200 Message-ID: <20260520162105.142973083@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162058.573354582@linuxfoundation.org> References: <20260520162058.573354582@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: T Pratham [ Upstream commit 8451ab6ad686ffdcdf9ddadaa446a79ab48e5590 ] For authenc AEAD algorithms, sa2ul is trying to register very specific -ce version as a fallback. This causes registration failure on SoCs which do not have ARMv8-CE enabled/available. Change the fallback algorithm from the specific driver name to generic algorithm name so that the kernel can allocate any available fallback. Fixes: d2c8ac187fc92 ("crypto: sa2ul - Add AEAD algorithm support") Signed-off-by: T Pratham Reviewed-by: Manorit Chawdhry Signed-off-by: Herbert Xu Signed-off-by: Sasha Levin --- drivers/crypto/sa2ul.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/sa2ul.c b/drivers/crypto/sa2ul.c index 94eb6f6afa257..af221d5d999f2 100644 --- a/drivers/crypto/sa2ul.c +++ b/drivers/crypto/sa2ul.c @@ -1775,13 +1775,13 @@ static int sa_cra_init_aead(struct crypto_aead *tfm, const char *hash, static int sa_cra_init_aead_sha1(struct crypto_aead *tfm) { return sa_cra_init_aead(tfm, "sha1", - "authenc(hmac(sha1-ce),cbc(aes-ce))"); + "authenc(hmac(sha1),cbc(aes))"); } static int sa_cra_init_aead_sha256(struct crypto_aead *tfm) { return sa_cra_init_aead(tfm, "sha256", - "authenc(hmac(sha256-ce),cbc(aes-ce))"); + "authenc(hmac(sha256),cbc(aes))"); } static void sa_exit_tfm_aead(struct crypto_aead *tfm) -- 2.53.0