Re: [PATCH 12/16] crypto: iaa - Add support for iaa_crypto deflate compression algorithm

From: Herbert Xu
Date: Thu Mar 16 2023 - 22:52:58 EST


On Mon, Mar 06, 2023 at 12:52:22PM -0600, Tom Zanussi wrote:
>
> +static struct crypto_alg iaa_comp_deflate = {
> + .cra_name = "deflate",
> + .cra_driver_name = "iaa_crypto",
> + .cra_flags = CRYPTO_ALG_TYPE_COMPRESS,
> + .cra_priority = IAA_ALG_PRIORITY,
> + .cra_module = THIS_MODULE,
> + .cra_u = {
> + .compress = {
> + .coa_compress = iaa_comp_compress,
> + .coa_decompress = iaa_comp_decompress
> + }
> + }
> +};

Please add any new code using the legacy compression interface.
We're trying to phase them out.

If your user is still using the legacy interface, they should
be converted instead.

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt