]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r292782: Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c
authoravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 27 Feb 2017 08:27:38 +0000 (08:27 +0000)
committeravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 27 Feb 2017 08:27:38 +0000 (08:27 +0000)
commit03458ad53a874103da1ca6cd5fc3aaec3163d3ee
tree7dc7f03824fc55a11bb932a418d8ede77ccfc6f8
parentc2a4549530b16bf4ea45309a2ec79e28ddfaa953
MFC r292782: 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

Approved by: secteam

git-svn-id: svn://svn.freebsd.org/base/stable/10@314327 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
30 files changed:
lib/libcrypt/Makefile
lib/libmd/Makefile
lib/libmd/sha512.3
lib/libmd/shadriver.c
sbin/gbde/Makefile
sbin/gbde/gbde.c
sbin/geom/class/eli/Makefile
sbin/md5/Makefile
sbin/md5/md5.1
sbin/md5/md5.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sha256.c
sys/conf/files
sys/crypto/sha2/sha2.c [deleted file]
sys/crypto/sha2/sha2.h [deleted file]
sys/crypto/sha2/sha256.h
sys/crypto/sha2/sha384.h [new file with mode: 0644]
sys/crypto/sha2/sha512.h [moved from lib/libmd/sha512.h with 89% similarity]
sys/crypto/sha2/sha512c.c [moved from lib/libmd/sha512c.c with 82% similarity]
sys/dev/random/hash.c
sys/dev/random/yarrow.c
sys/geom/bde/g_bde.c
sys/geom/bde/g_bde_crypt.c
sys/geom/bde/g_bde_lock.c
sys/geom/bde/g_bde_work.c
sys/geom/eli/g_eli.h
sys/modules/crypto/Makefile
sys/modules/geom/geom_bde/Makefile
sys/modules/zfs/Makefile
sys/netinet/sctp_os_bsd.h
sys/opencrypto/xform.h