]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: omap-des - fix crypto engine initialization order
authorTero Kristo <t-kristo@ti.com>
Thu, 4 Aug 2016 10:28:46 +0000 (13:28 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 13 Sep 2016 12:27:20 +0000 (20:27 +0800)
commit5c30a1b9e4dea84adcb8a4575b184ebd89748c0c
tree8ca3298e1ab0150f0492413cec1daa13f630f20f
parent017a9a46c304ece0d6fd91f6771401efc6fcb5cf
crypto: omap-des - 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: 26732f7b06e7 ("crypto: omap-des - Integrate with the 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-des.c