diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-08-18 12:34:34 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-08-29 11:05:08 +0200 |
commit | d863d5945f2be0abfcd9d36b1a7c605f3eaef517 (patch) | |
tree | 48803fe3c76f89ff76395d3b6bbcd2b61821f362 /lib | |
parent | 0177db01adf26cf9c5dfe1feaf17087de4b9e40e (diff) | |
download | linux-stable-d863d5945f2be0abfcd9d36b1a7c605f3eaef517.tar.gz linux-stable-d863d5945f2be0abfcd9d36b1a7c605f3eaef517.tar.bz2 linux-stable-d863d5945f2be0abfcd9d36b1a7c605f3eaef517.zip |
s390/crypto: simplify init / exit functions
The aes and the des module register multiple crypto algorithms
dependent on the availability of specific CPACF instructions.
To simplify the deregistration with crypto_unregister_alg add
an array with pointers to the successfully registered algorithms
and use it for the error handling in the init function and in
the module exit function.
Reviewed-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions