Iuliana Prodan
38945c87f1
crypto: caam - free resources in case caam_rng registration failed
...
[ Upstream commit c59a1d41672a89b5cac49db1a472ff889e35a2d2 ]
Check the return value of the hardware registration for caam_rng and free
resources in case of failure.
Fixes: e24f7c9e87 ("crypto: caam - hwrng support")
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-29 10:24:29 +01:00
..
caamalg.c
crypto: caam - fix concurrency issue in givencrypt descriptor
2019-10-17 13:42:19 -07:00
caamhash.c
crypto: caam - fix zero-length buffer DMA mapping
2019-01-23 08:10:54 +01:00
caampkc.c
crypto: caam - fix invalid dereference in caam_rsa_init_tfm()
2017-04-18 07:11:49 +02:00
caampkc.h
crypto: caam - add support for RSA algorithm
2016-07-05 23:05:24 +08:00
caamrng.c
crypto: caam - free resources in case caam_rng registration failed
2020-01-29 10:24:29 +01:00
compat.h
crypto: caam - add support for RSA algorithm
2016-07-05 23:05:24 +08:00
ctrl.c
crypto: caam - fix endless loop when DECO acquire fails
2018-02-17 13:21:17 +01:00
ctrl.h
crypto: caam - fix ERA retrieval function
2014-02-09 09:59:27 +08:00
desc.h
crypto: caam - treat SGT address pointer as u64
2016-10-02 22:33:45 +08:00
desc_constr.h
crypto: caam - fix rfc3686(ctr(aes)) IV load
2016-09-07 21:08:28 +08:00
error.c
crypto: caam - don't emit ICV check failures to dmesg
2015-01-26 11:34:23 +11:00
error.h
crypto: caam - Contain caam_jr_strstatus() ugliness
2014-05-08 21:58:06 +08:00
intern.h
Revert "crypto: caam - get rid of tasklet"
2017-12-09 22:01:46 +01:00
jr.c
crypto: caam/jr - fix descriptor DMA unmapping
2018-09-09 20:01:25 +02:00
jr.h
crypto: caam - Add API's to allocate/free Job Rings
2013-10-30 12:02:57 +08:00
Kconfig
crypto: caam - add support for RSA algorithm
2016-07-05 23:05:24 +08:00
key_gen.c
crypto: caam - fix signals handling
2017-07-21 07:42:23 +02:00
key_gen.h
crypto: caam - change key gen functions to return signed int
2013-04-25 21:01:43 +08:00
Makefile
crypto: caam - add support for RSA algorithm
2016-07-05 23:05:24 +08:00
pdb.h
crypto: caam - add support for RSA algorithm
2016-07-05 23:05:24 +08:00
pkc_desc.c
crypto: caam - add support for RSA algorithm
2016-07-05 23:05:24 +08:00
regs.h
crypto: caam - fix implicit casts in endianness helpers
2018-11-13 11:16:53 -08:00
sg_sw_sec4.h
crypto: caam - treat SGT address pointer as u64
2016-10-02 22:33:45 +08:00