Files
Royyan Zahir 0cb794570c crypto: fix chacha constants under GCC 15.
GCC 15 added -Wunterminated-string-initialization, and both constants fill
their array exactly, leaving no room for the terminator. Every build with
that compiler fails, since crypto/Makefile treats warnings as errors.

Neither is used as a string: they are read as sixteen bytes through
U8TO32_LITTLE(). Letting the array size follow the literal keeps them
readable, costs one byte each, and needs no attribute that only some
compilers have.

The cipher state is unchanged for both key sizes.

Signed-off-by: Royyan Zahir <royzah@gmail.com>
2026-09-20 08:22:11 -03:00
..
…
…
…
…
…
2026-01-26 10:55:57 +08:00
…
…
…
…
…
…
…
…
…