aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/acompress.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-12-04 16:46:54 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-12-13 18:24:56 +0800
commitb299362ee48db8eab34208302ee9730ff9d6091c (patch)
treeee526e1b701dc4cd5c943231ad633f2a70b2a749 /crypto/acompress.c
parentcrypto: arm64/chacha - use combined SIMD/ALU routine for more speed (diff)
downloadlinux-dev-b299362ee48db8eab34208302ee9730ff9d6091c.tar.xz
linux-dev-b299362ee48db8eab34208302ee9730ff9d6091c.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: 059c2a4d8e16 ("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/acompress.c')
0 files changed, 0 insertions, 0 deletions