freebsd-src/lib/libcrypt
Kyle Evans e7a629c851 libmd, kern, stand: consolidate md5 implementations (NFC)
Reduce the number of md5c.c between the three of these from two to one
by just reaching into the kernel build for both userland builds.  The
precedent for this already exists for sha2 in both cases.

_libmd_ symbol privatization bits have been moved to sys/md5.h and
md5.h remains to #include <sys/md5.h> for compatibility.

This stops exporting MD5Pad() in the process because the kernel stopped
exporting it in 502a35d60f.  soversion is bumped accordingly.

This also renames the libc version of stack_protector.c; it previously
only worked by coincidence because .PATH ordering worked out such that
we got the right one, but this is not the case anymore.  Remove the
landmine.

PR:		280784 (exp-run)
Reviewed by:	allanjude, delphij
Differential Revision:	https://reviews.freebsd.org/D34497
2024-09-29 22:34:18 -05:00
..
tests Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
crypt-md5.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
crypt-nthash.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
crypt-sha256.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
crypt-sha512.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
crypt.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
crypt.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
crypt.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile libmd, kern, stand: consolidate md5 implementations (NFC) 2024-09-29 22:34:18 -05:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
misc.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00