freebsd-dev/sys/opencrypto
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
..
cast.c
cast.h
castsb.h
criov.c we may get here w/ non-sleepable locks held, so switch to _NOWAIT when 2015-07-07 18:45:32 +00:00
crypto.c change the KASSERT so it is meaningful, var is unsigned, so even 2015-06-19 22:42:26 +00:00
cryptodeflate.c Use the correct number of arguments for the 2015-05-25 01:31:39 +00:00
cryptodev_if.m
cryptodev.c Remove unneeded includes of opt_kdtrace.h. 2015-11-22 02:01:01 +00:00
cryptodev.h Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
cryptosoft.c Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
cryptosoft.h
deflate.h Move zlib.c from net to libkern. 2015-04-22 14:38:58 +00:00
gfmult.c Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
gfmult.h Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
gmac.c Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
gmac.h add the define to properly guard this header.. 2015-04-07 09:00:03 +00:00
rmd160.c
rmd160.h
skipjack.c
skipjack.h
xform.c Use explicitly specified ivsize instead of blocksize when we mean IV size. 2015-11-16 07:10:42 +00:00
xform.h Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00