The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
Перейти к файлу
Eric Biggers ec8f7f4821 crypto: lib - make the sha1 library optional
Since the Linux RNG no longer uses sha1_transform(), the SHA-1 library
is no longer needed unconditionally.  Make it possible to build the
Linux kernel without the SHA-1 library by putting it behind a kconfig
option, and selecting this new option from the kconfig options that gate
the remaining users: CRYPTO_SHA1 for crypto/sha1_generic.c, BPF for
kernel/bpf/core.c, and IPV6 for net/ipv6/addrconf.c.

Unfortunately, since BPF is selected by NET, for now this can only make
a difference for kernels built without networking support.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-07-15 16:43:59 +08:00
Documentation crypto: qat - expose device config through sysfs for 4xxx 2022-07-08 15:15:59 +08:00
LICENSES
arch crypto: x86/blowfish - remove redundant assignment to variable nytes 2022-07-15 16:43:22 +08:00
block
certs
crypto crypto: lib - make the sha1 library optional 2022-07-15 16:43:59 +08:00
drivers crypto: sa2ul - Check engine status before enabling 2022-07-15 16:43:22 +08:00
fs fscrypt: Add HCTR2 support for filename encryption 2022-06-10 16:40:18 +08:00
include crypto: aria - Implement ARIA symmetric cipher algorithm 2022-07-15 16:38:19 +08:00
init crypto: lib - make the sha1 library optional 2022-07-15 16:43:59 +08:00
ipc
kernel A single featurelet for delay accounting. Delayed a bit 2022-06-05 16:58:27 -07:00
lib crypto: lib - make the sha1 library optional 2022-07-15 16:43:59 +08:00
mm Hot fixes for 5.19-rc1. 2022-06-05 17:05:38 -07:00
net crypto: lib - make the sha1 library optional 2022-07-15 16:43:59 +08:00
samples
scripts
security
sound
tools A single featurelet for delay accounting. Delayed a bit 2022-06-05 16:58:27 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap Hot fixes for 5.19-rc1. 2022-06-05 17:05:38 -07:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: update HiSilicon ZIP and QM maintainers 2022-06-17 17:19:20 +08:00
Makefile Linux 5.19-rc1 2022-06-05 17:18:54 -07:00
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.