crypt: Remove libcrypt support
commite6e3c666880847ad908692087ca6d5015895dffa
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 2 Oct 2023 12:11:49 +0000 (2 09:11 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 30 Oct 2023 16:03:59 +0000 (30 13:03 -0300)
treed8a728bc0a180334644cb62ce3f83905d5ce4c11
parentbb2ff12abd1ee7945957c6fb6f4c9ee091e446ce
crypt: Remove libcrypt support

All the crypt related functions, cryptographic algorithms, and
make requirements are removed,  with only the exception of md5
implementation which is moved to locale folder since it is
required by localedef for integrity protection (libc's
locale-reading code does not check these, but localedef does
generate them).

Besides thec code itself, both internal documentation and the
manual is also adjusted.  This allows to remove both --enable-crypt
and --enable-nss-crypt configure options.

Checked with a build for all affected ABIs.

Co-authored-by: Zack Weinberg <zack@owlfolio.org>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
97 files changed:
CONTRIBUTED-BY
INSTALL
Makeconfig
NEWS
SHARED-FILES
config.make.in
configure
configure.ac
conform/Makefile
crypt/Makefile [deleted file]
crypt/README.ufc-crypt [deleted file]
crypt/Versions [deleted file]
crypt/badsalttest.c [deleted file]
crypt/cert.c [deleted file]
crypt/cert.input [deleted file]
crypt/crypt-entry.c [deleted file]
crypt/crypt-private.h [deleted file]
crypt/crypt.c [deleted file]
crypt/crypt.h [deleted file]
crypt/crypt_util.c [deleted file]
crypt/md5-crypt.c [deleted file]
crypt/md5c-test.c [deleted file]
crypt/md5test-giant.c [deleted file]
crypt/md5test.c [deleted file]
crypt/sha256-block.c [deleted file]
crypt/sha256-crypt.c [deleted file]
crypt/sha256.c [deleted file]
crypt/sha256.h [deleted file]
crypt/sha256c-test.c [deleted file]
crypt/sha256test.c [deleted file]
crypt/sha512-block.c [deleted file]
crypt/sha512-crypt.c [deleted file]
crypt/sha512.c [deleted file]
crypt/sha512.h [deleted file]
crypt/sha512c-test.c [deleted file]
crypt/sha512test.c [deleted file]
crypt/speeds.c [deleted file]
crypt/ufc-crypt.h [deleted file]
crypt/ufc.c [deleted file]
elf/Makefile
elf/tst-linkall-static.c
include/crypt.h [deleted file]
locale/Makefile
locale/programs/locarchive.c
locale/programs/locfile.c
locale/programs/md5-block.c [moved from crypt/md5-block.c with 100% similarity]
locale/programs/md5.c [moved from crypt/md5.c with 65% similarity]
locale/programs/md5.h [moved from crypt/md5.h with 74% similarity]
manual/contrib.texi
manual/crypt.texi
manual/examples/genpass.c [deleted file]
manual/examples/testpass.c [deleted file]
manual/users.texi
posix/unistd.h
scripts/build-many-glibcs.py
scripts/documented.sh
shlib-versions
stdio-common/Versions
sysdeps/generic/fips-private.h [deleted file]
sysdeps/generic/libcrypt.abilist [deleted file]
sysdeps/mach/Makefile
sysdeps/mach/hurd/i386/libcrypt.abilist [deleted file]
sysdeps/mach/hurd/x86_64/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/alpha/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/alpha/shlib-versions
sysdeps/unix/sysv/linux/arc/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/arm/Makefile
sysdeps/unix/sysv/linux/arm/be/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/arm/le/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/csky/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/fips-private.h [deleted file]
sysdeps/unix/sysv/linux/hppa/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/i386/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/ia64/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/loongarch/lp64/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/microblaze/be/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/microblaze/le/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/nios2/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/or1k/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/riscv/rv32/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/sh/be/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/sh/le/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist [deleted file]
sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist [deleted file]