summaryrefslogtreecommitdiff
path: root/drivers/s390/char
diff options
context:
space:
mode:
authorIngo Tuchscherer <ingo.tuchscherer@de.ibm.com>2013-10-15 13:24:07 +0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-10-24 19:17:10 +0400
commit4f57ba716b12ab939d46b7910768c3da3623fdc1 (patch)
treef67e873f2e931ae677a6795e11b63b8e3c18a505 /drivers/s390/char
parentdc3ac5ff82e768385a7c787a211cfb131bc1924b (diff)
downloadlinux-4f57ba716b12ab939d46b7910768c3da3623fdc1.tar.xz
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>
Diffstat (limited to 'drivers/s390/char')
0 files changed, 0 insertions, 0 deletions