freebsd-dev/sys/crypto
Colin Percival 696c3895ae Retune SHA2 code for improved performance on CPUs with more ILP and
a preference for memory load instructions over large code footprints
with embedded immediate variables.

On amd64 CPUs from 2007-2008 there is not a significant change, but
amd64 CPUs from 2009-2010 get roughly 10% more throughput with this
code; amd64 CPUs from 2011-2012 get roughly 15% more throughput; and
AMD64 CPUs from 2013-2015 get 20-25% more throughput.  The Raspberry
Pi 2 increases its throughput by 6-8%.

Sponsored by:	Tarsnap Backup Inc.
Performance tested by:	allanjude
MFC after:	3 weeks
2016-05-29 17:26:40 +00:00
..
aesni crypto routines: Hint minimum buffer sizes to the compiler 2016-05-26 19:29:29 +00:00
blowfish
camellia
des
rc4 Revert previous commit... 2012-10-10 08:36:38 +00:00
rijndael Fix gcc build: preserve const qualifier when casting input values. 2014-11-11 13:37:28 +00:00
sha2 Retune SHA2 code for improved performance on CPUs with more ILP and 2016-05-29 17:26:40 +00:00
siphash crypto routines: Hint minimum buffer sizes to the compiler 2016-05-26 19:29:29 +00:00
skein Import the skein hashing algorithm, based on the threefish block cipher 2016-05-29 01:15:36 +00:00
via Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
sha1.c crypto routines: Hint minimum buffer sizes to the compiler 2016-05-26 19:29:29 +00:00
sha1.h crypto routines: Hint minimum buffer sizes to the compiler 2016-05-26 19:29:29 +00:00