4f57ba716b
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> |
||
---|---|---|
.. | ||
Makefile | ||
aes_s390.c | ||
crypt_s390.h | ||
des_s390.c | ||
ghash_s390.c | ||
prng.c | ||
sha.h | ||
sha1_s390.c | ||
sha256_s390.c | ||
sha512_s390.c | ||
sha_common.c |