Re: [PATCH 2/6] crypto: zynqmp-sha: Change algo type from shash to ahash

Herbert Xu
2026-03-14T04:43:12Z

On Tue, Mar 03, 2026 at 12:49:49PM +0530, Harsh Jain wrote:
>
> -static int zynqmp_sha_init_tfm(struct crypto_shash *hash)
> +static int zynqmp_sha_init_tfm(struct crypto_tfm *tfm)

Please don't use the obsolete cra_init functions. You should
use the ahash-specific init_tfm hook instead.

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