Re: [PATCH 0/5] Remove CRYPTO_ALG_ALLOCATES_MEMORY flag
From: Herbert Xu
Date: Thu Jun 01 2023 - 06:38:47 EST
On Tue, May 23, 2023 at 04:55:03PM +0000, Eric Biggers wrote:
>
> This isn't mentioned in the documentation for CRYPTO_ALG_ALLOCATES_MEMORY. So
> it's not part of the contract of CRYPTO_ALG_ALLOCATES_MEMORY currently.
>
> Please don't make this change without updating the documentation.
>
> If you'd like to make this change, please update the documentation for
> CRYPTO_ALG_ALLOCATES_MEMORY to mention this additional exception.
Agreed. We talked about this at the time of the original patch-set,
but never made any changes in this direction.
Apparently the users are still the same so it should be possible
but it has to be done in the right order as Eric suggested.
Of course if the drivers don't actually need this then all the
better and let's not even bother with adding such a restriction.
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt