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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Dec 2023 10:03:26 +0000 (18:03 +0800)
commitce852f1308ac738e61c5b2502517deea593a1554
tree2b9f4a8efa7cbff7510b20139291cebf7ac8f916
parenta10d17a4a6190c442d4b1448a23c5674f94eb46b
crypto: sa2ul - Return crypto_aead_setkey to transfer the error

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>
drivers/crypto/sa2ul.c