diff options
| author | Eric Biggers <[email protected]> | 2021-03-21 22:13:47 -0700 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2021-04-02 18:28:12 +1100 |
| commit | a181e0fdb2164268274453b5b291589edbb9b22d (patch) | |
| tree | 009f7411d6ede6a6446c09125dfa3acd0a7ea95f /tools/perf/scripts/python | |
| parent | 30d0f6a956fc74bb2e948398daf3278c6b08c7e9 (diff) | |
random: initialize ChaCha20 constants with correct endianness
On big endian CPUs, the ChaCha20-based CRNG is using the wrong
endianness for the ChaCha20 constants.
This doesn't matter cryptographically, but technically it means it's not
ChaCha20 anymore. Fix it to always use the standard constants.
Cc: [email protected]
Cc: Andy Lutomirski <[email protected]>
Cc: Jann Horn <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions