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 464F22773DE; Sat, 30 May 2026 18:43:02 +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=1780166583; cv=none; b=twqyprLpglA37Z+lkHLCD61wtEPgN9tQ8mSBVUW9JvTIjNwEvFWafYLo6tkqThwJlF0CnB2xtAqNggcLyIIQUyL7AftS+eaW3HIV0i0LRX0HB3KifK9CWAtG6p5ItJNQ3cP+wMsWFWrXacO5co4bcQB1qfaWjlGs5vyV/ODsMwY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780166583; c=relaxed/simple; bh=OD6TX2Xa34y0/dO6xse/HhFGotZ8URL3h0ZYhfHBxCY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HK7cY1CYIZlClgOsM03v62fgnewVeUy+bkdp8lQPbaeJ48LHV5TYWejBCYc1pYZ5iIiJEWbuCAOTDON+HrZS4VflyKtrVSxcd6glDezoKAETG3E7+5C+tAiYDytc/NaNM2u+rAYe8E3Qd/jx6czsVg4MVoSmM9Rd5rRsGfcxX0w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nMneBBzs; 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="nMneBBzs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D6E41F00893; Sat, 30 May 2026 18:43:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780166582; bh=c/YsieIeTjO8cpfuARQzu3RGJkKZ1myVuNquBcLyQ4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=nMneBBzsGjMnGePN5umWyHM/S59I7Dq4fulpypcKpZctQz54lpg3auq8fC4b0C5at Ku9ib4MXkfVq304xH32EMwtefHjhtZHmxANw7SXt1e8LnPOGlJLWuY3S9EDVYsOZ/5 G4PLDv7x/aV0bQgTAN0kWuoZmYtXm4rWr0hKI0ho= 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 5.10 409/589] crypto: sa2ul - Fix AEAD fallback algorithm names Date: Sat, 30 May 2026 18:04:50 +0200 Message-ID: <20260530160235.512346671@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260530160224.570625122@linuxfoundation.org> References: <20260530160224.570625122@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 5.10-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 0888f4489a765..6fa1a5b414ee5 100644 --- a/drivers/crypto/sa2ul.c +++ b/drivers/crypto/sa2ul.c @@ -1754,13 +1754,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