Re: [PATCH v3 1/3] crypto: lib - create utils module and move __crypto_memneq into it

From: Jason A. Donenfeld
Date: Mon Jul 25 2022 - 18:11:03 EST


On Mon, Jul 25, 2022 at 11:36:34AM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
>
> As requested at
> https://lore.kernel.org/r/YtEgzHuuMts0YBCz@xxxxxxxxxxxxxxxxxxx, move
> __crypto_memneq into lib/crypto/ and put it under a new tristate. The
> tristate is CRYPTO_LIB_UTILS, and it builds a module libcryptoutils. As
> more crypto library utilities are being added, this creates a single
> place for them to go without cluttering up the main lib directory.
>
> The module's main file will be lib/crypto/utils.c. However, leave
> memneq.c as its own file because of its nonstandard license.

Reviewed-by: Jason A. Donenfeld <Jason@xxxxxxxxx>