android_kernel_xiaomi_sm7250/drivers/crypto/ccree
Gilad Ben-Yossef e09b2a736e crypto: ccree - fix resource leak on error path
[ Upstream commit 9bc6165d608d676f05d8bf156a2c9923ee38d05b ]

Fix a small resource leak on the error path of cipher processing.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Fixes: 63ee04c8b4 ("crypto: ccree - add skcipher support")
Cc: Markus Elfring <Markus.Elfring@web.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-19 08:14:48 +02:00
..
cc_aead.c crypto: ccree - don't mangle the request assoclen 2020-04-17 10:48:54 +02:00
cc_aead.h crypto: ccree - don't mangle the request assoclen 2020-04-17 10:48:54 +02:00
cc_buffer_mgr.c crypto: ccree - only try to map auth tag if needed 2020-04-17 10:48:54 +02:00
cc_buffer_mgr.h crypto: ccree - add AEAD support 2018-02-15 23:26:42 +08:00
cc_cipher.c crypto: ccree - fix resource leak on error path 2020-08-19 08:14:48 +02:00
cc_cipher.h crypto: ccree - remove cipher ivgen left overs 2018-08-03 18:06:05 +08:00
cc_crypto_ctx.h crypto: ccree - add support for older HW revs 2018-03-03 00:03:16 +08:00
cc_debugfs.c crypto: ccree - correct host regs offset 2018-05-31 00:13:49 +08:00
cc_debugfs.h
cc_driver.c crypto: ccree - fix resume race condition on init 2019-09-16 08:22:03 +02:00
cc_driver.h crypto: ccree - fix PM race condition 2020-02-11 04:34:01 -08:00
cc_fips.c crypto: ccree - account for TEE not ready to report 2019-10-11 18:20:54 +02:00
cc_fips.h crypto: ccree - add function to handle cryptocell tee fips error 2019-05-22 07:37:40 +02:00
cc_hash.c crypto: ccree - use correct internal state sizes for export 2019-05-22 07:37:39 +02:00
cc_hash.h crypto: ccree - add support for older HW revs 2018-03-03 00:03:16 +08:00
cc_host_regs.h crypto: ccree - correct host regs offset 2018-05-31 00:13:49 +08:00
cc_hw_queue_defs.h crypto: ccree - avoid implicit enum conversion 2019-12-01 09:16:28 +01:00
cc_ivgen.c crypto: ccree - fix mem leak on error path 2019-05-22 07:37:39 +02:00
cc_ivgen.h
cc_kernel_regs.h crypto: ccree - add support for older HW revs 2018-03-03 00:03:16 +08:00
cc_lli_defs.h
cc_pm.c crypto: ccree - fix PM race condition 2020-02-11 04:34:01 -08:00
cc_pm.h crypto: ccree - add missing inline qualifier 2019-09-16 08:22:03 +02:00
cc_request_mgr.c crypto: ccree - fix PM race condition 2020-02-11 04:34:01 -08:00
cc_request_mgr.h crypto: ccree - fix PM race condition 2020-02-11 04:34:01 -08:00
cc_sram_mgr.c crypto: ccree - add support for older HW revs 2018-03-03 00:03:16 +08:00
cc_sram_mgr.h
Makefile crypto: ccree - add FIPS support 2018-02-15 23:26:42 +08:00