]> git.baikalelectronics.ru Git - kernel.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)
commit65af6374533b7f171f7171efac95664adcff8d45
tree3d80d64c06c4045862c2280c13714d6f9e79a4e9
parent65b3252cd2269b5f0e7bd2c32523b375b50729eb
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: 031b2c759d6c ("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