freebsd-nq/sys/crypto
John-Mark Gurney 038ffd3e43 make it so that from/to can be missaligned as it can happen (the geli
regression manages to do it)...  We use a packed struct to coerce
gcc/clang into producing unaligned loads (there is not packed pointer
attribute, otherwise this would be easier)...

use _storeu_ and _loadu_ when using the structure is overkill...

be better at using types properly...  Since we allocate our own key
schedule and make sure it's aligned, use the __m128i type in various
arguments to functions...

clang ignores __aligned on prototypes and gcc errors on them, leave them
in comments to document that these function arguments are require to be
aligned...

about all that changes is movdqa -> movdqu from reading the diff of the
disassembly output...

Noticed by:	symbolics at gmx.com
MFC after:	3 days
2013-11-06 19:14:49 +00:00
..
aesni make it so that from/to can be missaligned as it can happen (the geli 2013-11-06 19:14:49 +00:00
blowfish
camellia
des
rc4
rijndael
sha2 Sync with KAME. 2013-07-09 22:04:35 +00:00
siphash Fix const propagation issues to make GCC happy. 2013-07-11 16:27:11 +00:00
via
sha1.c
sha1.h