diff options
author | Iuliana Prodan <iuliana.prodan@nxp.com> | 2019-07-31 16:08:14 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-09 15:11:51 +1000 |
commit | 58068cfc810c3b5cc8c25b0fab73c02625aeadf1 (patch) | |
tree | 0430a3ead4cc9180dec0fa3d7d8c06551160ab5e /Documentation | |
parent | 4e3a61c55b8c5db9bfaaf1fc1f448f8f874f66eb (diff) | |
download | linux-58068cfc810c3b5cc8c25b0fab73c02625aeadf1.tar.bz2 |
crypto: caam - unregister algorithm only if the registration succeeded
To know if a registration succeeded added a new struct,
caam_akcipher_alg, that keeps, also, the registration status.
This status is updated in caam_pkc_init and verified in
caam_pkc_exit to unregister an algorithm.
Fixes: 1b46c90c8e00 ("crypto: caam - convert top level drivers to libraries")
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions