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>
Fri, 23 Nov 2012 10:14:27 +0000 (11:14 +0100)
commit36eb2caa7bace31b7868a57f77cb148e58d1c9f9
tree440ee2134281ce81fec701f1f2ca4f2393f5659c
parentce1d801462ce75f9ba84e0bb32a05e1a7c881efe
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