]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: zstd - convert to acomp
authorSuman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>
Mon, 16 Jun 2025 03:19:44 +0000 (04:19 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Jun 2025 09:00:27 +0000 (17:00 +0800)
commitf5ad93ffb54119a8dc5e18f070624d4ead586969
treeaaa9c16a647335c0e053c953a8680d50a990e2c8
parent1adaaeeb90c341a7e577b11d57354b22ea307003
crypto: zstd - convert to acomp

Convert the implementation to a native acomp interface using zstd
streaming APIs, eliminating the need for buffer linearization.

This includes:
   - Removal of the scomp interface in favor of acomp
   - Refactoring of stream allocation, initialization, and handling for
     both compression and decompression using Zstandard streaming APIs
   - Replacement of crypto_register_scomp() with crypto_register_acomp()
     for module registration

Signed-off-by: Suman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/zstd.c