]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/crypto: Don't panic after crypto instruction failures
authorJan Glauber <jang@linux.vnet.ibm.com>
Fri, 26 Oct 2012 13:06:12 +0000 (15:06 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 6 Nov 2012 21:40:30 +0000 (22:40 +0100)
commit36f440e03b684227b1b94f1e19ff56f67e1e3313
tree00fe2579b88a44a888e247eaaffa1ed8f4d23c52
parent44e1184bbae19fe556096a6cf52eecad6de1ac95
s390/crypto: Don't panic after crypto instruction failures

Remove the BUG_ON's that check for failure or incomplete
results of the s390 hardware crypto instructions.
Rather report the errors as -EIO to the crypto layer.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/crypto/aes_s390.c
arch/s390/crypto/des_s390.c
arch/s390/crypto/ghash_s390.c
arch/s390/crypto/sha_common.c