Re: [PATCH 0/2] crypto: make the sha1 library optional

From: Eric Biggers
Date: Mon Jul 18 2022 - 23:48:23 EST


On Mon, Jul 18, 2022 at 10:49:07AM -0700, Randy Dunlap wrote:
>
>
> On 7/15/22 01:50, Herbert Xu wrote:
> > Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
> >> This series makes it possible to build the kernel without SHA-1 support,
> >> although for now this is only possible in minimal configurations, due to
> >> the uses of SHA-1 in the networking subsystem.
> >>
> >> Eric Biggers (2):
> >> crypto: move lib/sha1.c into lib/crypto/
> >> crypto: make the sha1 library optional
> >>
> >> crypto/Kconfig | 1 +
> >> init/Kconfig | 1 +
> >> lib/Makefile | 2 +-
> >> lib/crypto/Kconfig | 3 +++
> >> lib/crypto/Makefile | 3 +++
> >> lib/{ => crypto}/sha1.c | 0
> >> net/ipv6/Kconfig | 1 +
> >> 7 files changed, 10 insertions(+), 1 deletion(-)
> >> rename lib/{ => crypto}/sha1.c (100%)
> >>
> >>
> >> base-commit: 79e6e2f3f3ff345947075341781e900e4f70db81
> >
> > All applied. Thanks.
>
> Eric,
> linux-next-20220718 has a build error:
>
> ERROR: modpost: missing MODULE_LICENSE() in lib/crypto/libsha1.o

Thanks, https://lore.kernel.org/r/20220719030415.32113-1-ebiggers@xxxxxxxxxx
fixes this.

- Eric