freebsd-dev/sys/crypto/chacha20
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
..
chacha20.c Fix counter increment in Salsa and ChaCha. 2017-04-22 01:06:23 +00:00
chacha20.h
chacha.c
chacha.h