]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: inside-secure/eip93 - unregister only available algorithm
authorAleksander Jan Bajkowski <olek2@wp.pl>
Sun, 11 Jan 2026 13:20:32 +0000 (14:20 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Jan 2026 08:09:32 +0000 (16:09 +0800)
commit0ceeadc7b53a041d89d5843f6bf0ccb7c98b0b4f
tree4bb580f3fd854a5209d4ab30c2d8bd86f5b93c20
parentd5abcc33ee76bc26d58b39dc1a097e43a99dd438
crypto: inside-secure/eip93 - unregister only available algorithm

EIP93 has an options register. This register indicates which crypto
algorithms are implemented in silicon. Supported algorithms are
registered on this basis. Unregister algorithms on the same basis.
Currently, all algorithms are unregistered, even those not supported
by HW. This results in panic on platforms that don't have all options
implemented in silicon.

Fixes: 9739f5f93b78 ("crypto: eip93 - Add Inside Secure SafeXcel EIP-93 crypto engine support")
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Acked-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/eip93/eip93-main.c