diff options
| author | Martin Schwidefsky <[email protected]> | 2016-08-18 12:34:34 +0200 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2016-08-29 11:05:08 +0200 |
| commit | d863d5945f2be0abfcd9d36b1a7c605f3eaef517 (patch) | |
| tree | 48803fe3c76f89ff76395d3b6bbcd2b61821f362 /lib/string_helpers.c | |
| parent | 0177db01adf26cf9c5dfe1feaf17087de4b9e40e (diff) | |
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 <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions