android_kernel_oneplus_msm8998/arch/s390/crypto
Dan Carpenter 6119edd2d8 s390/crypto: unlock on error in prng_tdes_read()
commit 9e6e7c74315095fd40f41003850690c711e44420 upstream.

We added some new locking but forgot to unlock on error.

Fixes: 57127645d7 ("s390/zcrypt: Introduce new SHA-512 based Pseudo Random Generator.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-12 11:22:49 +01:00
..
aes_s390.c s390/crypto: add cpu feature modaliases for crypto modules 2015-07-22 09:58:02 +02:00
crypt_s390.h s390/zcrypt: Introduce new SHA-512 based Pseudo Random Generator. 2015-04-23 16:56:21 +02:00
des_s390.c s390/crypto: add cpu feature modaliases for crypto modules 2015-07-22 09:58:02 +02:00
ghash_s390.c s390/crypto: add cpu feature modaliases for crypto modules 2015-07-22 09:58:02 +02:00
Makefile crypto: s390 - add System z hardware support for GHASH 2011-05-04 15:06:32 +10:00
prng.c s390/crypto: unlock on error in prng_tdes_read() 2017-01-12 11:22:49 +01:00
sha.h crypto: s390/sha - replace raw value by their coresponding define 2015-10-15 21:05:11 +08:00
sha1_s390.c s390/crypto: add cpu feature modaliases for crypto modules 2015-07-22 09:58:02 +02:00
sha256_s390.c s390/crypto: add cpu feature modaliases for crypto modules 2015-07-22 09:58:02 +02:00
sha512_s390.c s390/crypto: add cpu feature modaliases for crypto modules 2015-07-22 09:58:02 +02:00
sha_common.c s390/crypto: Don't panic after crypto instruction failures 2012-11-23 11:14:27 +01:00