Re: [PATCH v2 06/14] crypto: caam - check assoclen

From: Herbert Xu
Date: Fri Jul 19 2019 - 11:15:30 EST


On Fri, Jul 19, 2019 at 03:06:38PM +0000, Horia Geanta wrote:
>
> Herbert, is it worth having these checks moved to crypto API,
> so they could be shared b/w all implementations?

Yes this should be turned into a inline helper.

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