Re: [PATCH 0/5] Remove CRYPTO_ALG_ALLOCATES_MEMORY flag

From: Eric Biggers
Date: Tue May 23 2023 - 12:55:14 EST


On Tue, May 23, 2023 at 05:34:16PM +0200, meenakshi.aggarwal@xxxxxxx wrote:
> CRYPTO_ALG_ALLOCATES_MEMORY flag is limited only to dm-crypt use-cases,
> which seems to be 4 entries maximum.

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.

- Eric