crypto: acomp - search acomp with scomp backend in crypto_has_acomp
authorBarry Song <song.bao.hua@hisilicon.com>
Thu, 30 Apr 2020 05:10:18 +0000 (17:10 +1200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 May 2020 05:30:41 +0000 (15:30 +1000)
commitc549226926ce9352dc6415931f4e96445759215d
tree2bfefddbba32b64a24e71f1d4366d544dc5ff960
parent8d90822643ad8405eeb2ceafb20afd6952c24606
crypto: acomp - search acomp with scomp backend in crypto_has_acomp

users may call crypto_has_acomp to confirm the existence of acomp before using
crypto_acomp APIs. Right now, many acomp have scomp backend, for example, lz4,
lzo, deflate etc. crypto_has_acomp will return false for them even though they
support acomp APIs.

Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/crypto/acompress.h