diff options
author | Eric Biggers <ebiggers@google.com> | 2018-12-04 16:46:54 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-13 18:24:56 +0800 |
commit | f4278d718b9b2674caf7ceb8e9c0d85a5c790f96 (patch) | |
tree | d9284f1682b909620854181b568902c8baf10156 /crypto/crypto_wq.c | |
parent | 4ba17f69bb210cc61a15ac64547994be7ad46100 (diff) | |
download | linux-crypto-f4278d718b9b2674caf7ceb8e9c0d85a5c790f96.tar.gz linux-crypto-f4278d718b9b2674caf7ceb8e9c0d85a5c790f96.zip |
crypto: adiantum - propagate CRYPTO_ALG_ASYNC flag to instance
If the stream cipher implementation is asynchronous, then the Adiantum
instance must be flagged as asynchronous as well. Otherwise someone
asking for a synchronous algorithm can get an asynchronous algorithm.
There are no asynchronous xchacha12 or xchacha20 implementations yet
which makes this largely a theoretical issue, but it should be fixed.
Fixes: 2fefad9112f3 ("crypto: adiantum - add Adiantum support")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_wq.c')
0 files changed, 0 insertions, 0 deletions