summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2015-12-27 17:33:59 +0000
committerallanjude <allanjude@FreeBSD.org>2015-12-27 17:33:59 +0000
commitc7c2f2dfabee24fac29d13375d8c29a7f766746c (patch)
tree8a9bc5399c16c0f637716b176f3f95c32c001a0f /sys/conf
parente7bdbef72941799b684fb8a542f52b0fbafd254d (diff)
downloadFreeBSD-src-c7c2f2dfabee24fac29d13375d8c29a7f766746c.zip
FreeBSD-src-c7c2f2dfabee24fac29d13375d8c29a7f766746c.tar.gz
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
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 9b9ccfa..feac6c0 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -557,10 +557,9 @@ crypto/rijndael/rijndael-api-fst.c optional geom_bde | random !random_loadable
crypto/rijndael/rijndael-api.c optional crypto | ipsec | wlan_ccmp
crypto/sha1.c optional carp | crypto | ipsec | \
netgraph_mppc_encryption | sctp
-crypto/sha2/sha2.c optional crypto | geom_bde | ipsec | random !random_loadable | \
- sctp | zfs
crypto/sha2/sha256c.c optional crypto | geom_bde | ipsec | random !random_loadable | \
sctp | zfs
+crypto/sha2/sha512c.c optional crypto | geom_bde | ipsec | zfs
crypto/siphash/siphash.c optional inet | inet6
crypto/siphash/siphash_test.c optional inet | inet6
ddb/db_access.c optional ddb
OpenPOWER on IntegriCloud