summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorIuliana Prodan <iuliana.prodan@nxp.com>2019-07-31 16:08:14 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-09 08:11:51 +0300
commit58068cfc810c3b5cc8c25b0fab73c02625aeadf1 (patch)
tree0430a3ead4cc9180dec0fa3d7d8c06551160ab5e /crypto
parent4e3a61c55b8c5db9bfaaf1fc1f448f8f874f66eb (diff)
downloadlinux-58068cfc810c3b5cc8c25b0fab73c02625aeadf1.tar.xz
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 'crypto')
0 files changed, 0 insertions, 0 deletions