crypto: sa2ul - Return crypto_aead_setkey to transfer the error
authorChen Ni <nichen@iscas.ac.cn>
Mon, 27 Nov 2023 02:03:01 +0000 (02:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:35:16 +0000 (15:35 -0800)
commitb94f7e34d6a2df68f08af3410ac1f1f87944ac96
treed8568d05dcd3a461712d4ffe22dc319ac19d6027
parentc4c54fce9ec54a59a4ca035af13c2823c76684cc
crypto: sa2ul - Return crypto_aead_setkey to transfer the error

[ Upstream commit ce852f1308ac738e61c5b2502517deea593a1554 ]

Return crypto_aead_setkey() in order to transfer the error if
it fails.

Fixes: d2c8ac187fc9 ("crypto: sa2ul - Add AEAD algorithm support")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/sa2ul.c