]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: hisilicon/sec - add some comments for soft fallback
authorKai Ye <yekai13@huawei.com>
Sat, 22 Jan 2022 08:13:09 +0000 (16:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:50:01 +0000 (12:50 +0100)
commit0db426905cb47ac7bb96b3cd85824726630b3a12
treec63524cf7f787b6f6a9f2fc9399c308364cdb0d6
parent4086792b88832c1a3e57438d8abf6aafa991903f
crypto: hisilicon/sec - add some comments for soft fallback

[ Upstream commit e764d81d58070e66e61fb1b972c81eb9d2ea971e ]

Modify the print of information that might lead to user misunderstanding.
Currently only XTS mode need the fallback tfm when using 192bit key.
Others algs not need soft fallback tfm. So others algs can return
directly.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Stable-dep-of: fd337f852b26 ("crypto: hisilicon/sec2 - fix for aead icv error")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/hisilicon/sec2/sec_crypto.c