]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sharah - Unregister correct algorithms for SAHARA 3
authorMichael Müller <michael@fds-team.de>
Sat, 14 Jul 2018 22:27:06 +0000 (00:27 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Jul 2018 05:51:22 +0000 (13:51 +0800)
commitc2d005c2fcfcb9d3def69317f5b57a12bb0fb739
tree92fa79f4b6c48c880ef9df7dd0d13d8a781b5d4d
parent6fecd153d55c389ab3c8732a3c39eee79f1bb3d4
crypto: sharah - Unregister correct algorithms for SAHARA 3

This patch fixes two typos related to unregistering algorithms supported by
SAHARAH 3. In sahara_register_algs the wrong algorithms are unregistered
in case of an error. In sahara_unregister_algs the wrong array is used to
determine the iteration count.

Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sahara.c