Re: [PATCH v2 4/5] crypto: starfive: Add sm3 support for JH8100

From: Herbert Xu
Date: Thu Feb 01 2024 - 00:41:01 EST


On Thu, Feb 01, 2024 at 03:01:59AM +0000, JiaJie Ho wrote:
>
> I am using ifdef so unused codes wouldn't be compiled into the driver for unsupported variant.
> Is the compiled driver size a concern for such cases?

The compiler should be eliminating unused code for you. Is this
not the case?

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