Searched hist:a2715fbd (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm/crypto/ |
H A D | aes-neonbs-glue.c | a2715fbd Wed Oct 28 04:03:20 CDT 2020 Horia Geantă <horia.geanta@nxp.com> crypto: arm/aes-neonbs - fix usage of cbc(aes) fallback
Loading the module deadlocks since: -local cbc(aes) implementation needs a fallback and -crypto API tries to find one but the request_module() resolves back to the same module
Fix this by changing the module alias for cbc(aes) and using the NEED_FALLBACK flag when requesting for a fallback algorithm.
Fixes: 00b99ad2bac2 ("crypto: arm/aes-neonbs - Use generic cbc encryption path") Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|