]> git.karo-electronics.de Git - linux-beck.git/commit
crypto: omap-aes - fix crypto engine initialization order
authorTero Kristo <t-kristo@ti.com>
Thu, 4 Aug 2016 10:28:45 +0000 (13:28 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 13 Sep 2016 12:26:17 +0000 (20:26 +0800)
commit0d0cda93de95aee704dfbf2d6a626193431caf43
tree3d80d64c06c4045862c2280c13714d6f9e79a4e9
parent9fcb191a84eb5c46004b66cc449b45b4d9a2da91
crypto: omap-aes - fix crypto engine initialization order

The crypto engine must be initialized before registering algorithms,
otherwise the test manager will crash as it attempts to execute
tests for the algos while they are being registered.

Fixes: 0529900a01cb ("crypto: omap-aes - Support crypto engine framework")
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-aes.c