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 26E333EA953; Wed, 20 May 2026 16:58:07 +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=1779296288; cv=none; b=pwY+NcVNVztvhfrbyEHHh/XqaFdOWQeU+aQg7JL4Rr0J3F6m2xUlm+LcsobLlyGNY5mnHAH/OJRPHx6z/PpU9YTbEhb1j4X0d2NWQFjeOC7gVLjetZ59Iz18N2Ow/OjwmRzytCmmntTAz64jgwf6kg7TnK0cl9Zy+jOhFG7MilY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779296288; c=relaxed/simple; bh=QCTGbaW5/LinkrDt0yAuADVs+N9051ki3BVUCPHMUOs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=avB8VazHPW4EztPdPutNYWg1rCZCKXU3LXIzF9ozlqpyRtb6xUnxj7ivq3kxPI+jjCK0BdR1Fd9sO3Ni01kZhf+zeJdnNK0strh8pjyDdGKTbv1ME/W7HJuEAX+zG+PcL+BzZZNPYcU7FH+HNRStRVmBAlKH5BXumm+z2T8RpPU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KYtlWRRV; 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="KYtlWRRV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B2CA1F000E9; Wed, 20 May 2026 16:58:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779296287; bh=fwptTu4jqx6mJbuJxniRprnXweLPJJFm2vQP8l9qjkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=KYtlWRRVY0wslWLN8jU3KlkQY3ufmlh8s2yY7z7lBxM5Ux4g4/UbNqUN5AqFcTIbO CwxoIjJ4+tYOezdeS3cbubHAn08SlND8JJ8uw3bcVQTf4t2WOBVZAgTKpuQhmDGT1V /Np2EMEvl6FW7iKVYzYyNmy4QCPbGwq8Owyv8iEQ= 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 7.0 0743/1146] crypto: sa2ul - Fix AEAD fallback algorithm names Date: Wed, 20 May 2026 18:16:33 +0200 Message-ID: <20260520162205.021750467@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162148.390695140@linuxfoundation.org> References: <20260520162148.390695140@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.0-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 df3defa1ef4b6..965a03d5b27ae 100644 --- a/drivers/crypto/sa2ul.c +++ b/drivers/crypto/sa2ul.c @@ -1744,13 +1744,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