/[base]
ViewVC logotype

Revision 292782


Jump to revision: Previous Next
Author: allanjude
Date: Sun Dec 27 17:33:59 2015 UTC (8 years, 6 months ago)
Changed paths: 37
Log Message:
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


Changed paths

Path Details
Directoryhead/lib/libcrypt/Makefile modified , text changed
Directoryhead/lib/libmd/Makefile modified , text changed
Directoryhead/lib/libmd/sha512.3 modified , text changed
Directoryhead/lib/libmd/sha512.h deleted
Directoryhead/lib/libmd/sha512c.c deleted
Directoryhead/lib/libmd/shadriver.c modified , text changed
Directoryhead/sbin/gbde/Makefile modified , text changed
Directoryhead/sbin/gbde/gbde.c modified , text changed
Directoryhead/sbin/geom/class/eli/Makefile modified , text changed
Directoryhead/sbin/md5/Makefile modified , text changed
Directoryhead/sbin/md5/md5.1 modified , text changed
Directoryhead/sbin/md5/md5.c modified , text changed
Directoryhead/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sha256.c modified , text changed
Directoryhead/sys/conf/files modified , text changed
Directoryhead/sys/crypto/sha2/sha2.c deleted
Directoryhead/sys/crypto/sha2/sha2.h deleted
Directoryhead/sys/crypto/sha2/sha256.h modified , text changed
Directoryhead/sys/crypto/sha2/sha384.h added
Directoryhead/sys/crypto/sha2/sha512.h
(Copied from head/lib/libmd/sha512.h, r292757)
added , text changed
Directoryhead/sys/crypto/sha2/sha512c.c
(Copied from head/lib/libmd/sha512c.c, r289398)
added , text changed
Directoryhead/sys/dev/random/build.sh modified , text changed
Directoryhead/sys/dev/random/fortuna.c modified , text changed
Directoryhead/sys/dev/random/hash.c modified , text changed
Directoryhead/sys/dev/random/other_algorithm.c modified , text changed
Directoryhead/sys/dev/random/randomdev.c modified , text changed
Directoryhead/sys/dev/random/unit_test.c modified , text changed
Directoryhead/sys/dev/random/yarrow.c modified , text changed
Directoryhead/sys/geom/bde/g_bde.c modified , text changed
Directoryhead/sys/geom/bde/g_bde_crypt.c modified , text changed
Directoryhead/sys/geom/bde/g_bde_lock.c modified , text changed
Directoryhead/sys/geom/bde/g_bde_work.c modified , text changed
Directoryhead/sys/geom/eli/g_eli.h modified , text changed
Directoryhead/sys/modules/crypto/Makefile modified , text changed
Directoryhead/sys/modules/geom/geom_bde/Makefile modified , text changed
Directoryhead/sys/modules/zfs/Makefile modified , text changed
Directoryhead/sys/netinet/sctp_os_bsd.h modified , text changed
Directoryhead/sys/opencrypto/xform.h modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27