linux_old1/arch/s390/crypto
Ingo Tuchscherer 4f57ba716b s390/crypto: fix aes_s390 crypto module unload problem
If a machine has no hardware support for the xts-aes or ctr-aes algorithms
they are not registered in aes_s390_init. But aes_s390_fini unconditionally
unregisters the algorithms which causes crypto_remove_alg to crash.
Add two flag variables to remember if xts-aes and ctr-aes have been added.

Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-10-24 17:17:10 +02:00
..
Makefile crypto: s390 - add System z hardware support for GHASH 2011-05-04 15:06:32 +10:00
aes_s390.c s390/crypto: fix aes_s390 crypto module unload problem 2013-10-24 17:17:10 +02:00
crypt_s390.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
des_s390.c s390/crypto: Don't panic after crypto instruction failures 2012-11-23 11:14:27 +01:00
ghash_s390.c s390/crypto: Don't panic after crypto instruction failures 2012-11-23 11:14:27 +01:00
prng.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sha.h crypto: sha-s390 - Switch to shash 2009-02-18 16:48:07 +08:00
sha1_s390.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sha256_s390.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sha512_s390.c crypto: s390 - extend crypto facility check 2011-05-04 15:05:49 +10:00
sha_common.c s390/crypto: Don't panic after crypto instruction failures 2012-11-23 11:14:27 +01:00