diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-26 12:24:10 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-27 18:09:41 +0800 |
commit | 89027579bc6c2febbcc9c2f9d5069adf71539e4b (patch) | |
tree | 4878354fc1ad7f49841254f915d6f77fc21150f6 /crypto/ccm.c | |
parent | 016df0abc56ec06d0c63c5318ef53e40738dea8b (diff) |
crypto: xts - Propagate NEED_FALLBACK bit
When we're used as a fallback algorithm, we should propagate
the NEED_FALLBACK bit when searching for the underlying ECB mode.
This just happens to fix a hang too because otherwise the search
may end up loading the same module that triggered this XTS creation.
Cc: stable@vger.kernel.org #4.10
Fixes: f1c131b45410 ("crypto: xts - Convert to skcipher")
Reported-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ccm.c')
0 files changed, 0 insertions, 0 deletions