diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2020-10-28 10:03:20 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-11-06 04:31:15 +0100 |
commit | a2715fbdc6fc387e85211df917a4778761ec693d (patch) | |
tree | 93ca6495dfc2bf51fca338cb1e53a346f640bb4d /drivers/char/hw_random/imx-rngc.c | |
parent | crypto: qat - remove unneeded semicolon (diff) | |
download | linux-a2715fbdc6fc387e85211df917a4778761ec693d.tar.xz linux-a2715fbdc6fc387e85211df917a4778761ec693d.zip |
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>
Diffstat (limited to 'drivers/char/hw_random/imx-rngc.c')
0 files changed, 0 insertions, 0 deletions