]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: hisilicon/zip - add lz4 algorithm for hisi_zip
authorChenghai Huang <huangchenghai2@huawei.com>
Sat, 17 Jan 2026 02:34:35 +0000 (10:34 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 31 Jan 2026 02:52:31 +0000 (10:52 +0800)
commitea377793f41989e425498f50ec0c76c70567c1ae
tree36cb161053ed56021b53c28f4305963ce2f4f0f5
parent9d58d22f367f6fc08f949b1ba9625e56414be92a
crypto: hisilicon/zip - add lz4 algorithm for hisi_zip

Add the "hisi-lz4-acomp" algorithm by the crypto acomp. When the
8th bit of the capability register is 1, the lz4 algorithm will
register to crypto acomp, and the window length is configured to
16K by default.

Since the "hisi-lz4-acomp" currently only support compression
direction, decompression is completed by the soft lz4 algorithm.

Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/Kconfig
drivers/crypto/hisilicon/zip/zip_crypto.c