freebsd-dev/sys/crypto
Dag-Erling Smørgrav f03be66539 Fix counter increment in Salsa and ChaCha.
In my eagerness to eliminate a branch which is taken once per 2^38
bytes of keystream, I forgot that the state words are in host order.
Thus, the counter increment code worked fine on little-endian
machines, but not on big-endian ones.  Switch to a simpler (branchful)
solution.
2017-04-22 01:06:23 +00:00
..
aesni
armv8
blowfish
camellia
chacha20 Fix counter increment in Salsa and ChaCha. 2017-04-22 01:06:23 +00:00
des
rc4
rijndael
sha2
siphash
skein
via
intake.h
sha1.c
sha1.h