mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
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. |
||
|---|---|---|
| .. | ||
| chacha.c | ||
| chacha.h | ||
| chacha20.c | ||
| chacha20.h | ||