freebsd-dev/lib/libmd
Allan Jude 7a3f5d11fb Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c
cperciva's libmd implementation is 5-30% faster

The same was done for SHA256 previously in r263218

cperciva's implementation was lacking SHA-384 which I implemented, validated against OpenSSL and the NIST documentation

Extend sbin/md5 to create sha384(1)

Chase dependancies on sys/crypto/sha2/sha2.{c,h} and replace them with sha512{c.c,.h}

Reviewed by:	cperciva, des, delphij
Approved by:	secteam, bapt (mentor)
MFC after:	2 weeks
Sponsored by:	ScaleEngine Inc.
Differential Revision:	https://reviews.freebsd.org/D3929
2015-12-27 17:33:59 +00:00
..
i386
Makefile Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00
Makefile.depend META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host. 2015-11-25 19:10:28 +00:00
md4.copyright
md4.h Unbreak build following rev. 282726 2015-05-10 21:21:52 +00:00
md4c.c Unbreak MIPS build following rev. 282726 2015-05-11 16:45:33 +00:00
md5.copyright
md5.h Unbreak build following rev. 282726 2015-05-10 21:21:52 +00:00
md5c.c Unbreak MIPS build following rev. 282726 2015-05-11 16:45:33 +00:00
mddriver.c
mdX.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
mdXhl.c increase buffer size to significantly increase performance... 2015-07-09 16:13:05 +00:00
ripemd.3 Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
ripemd.h Unbreak build following rev. 282726 2015-05-10 21:21:52 +00:00
rmd160c.c Unbreak MIPS build following rev. 282726 2015-05-11 16:45:33 +00:00
rmd_locl.h
rmdconst.h
rmddriver.c
sha0c.c
sha1c.c Unbreak MIPS build following rev. 282726 2015-05-11 16:45:33 +00:00
sha256.3 Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
sha512.3 Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00
sha_locl.h
sha.3 Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
sha.h Unbreak build following rev. 282726 2015-05-10 21:21:52 +00:00
shadriver.c Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00