mirror of
https://github.com/apache/nuttx.git
synced 2026-10-01 11:26:29 +00:00
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> |
||
|---|---|---|
| .. | ||
| aes.c | ||
| blake2s.c | ||
| blf.c | ||
| bn.c | ||
| cast.c | ||
| castsb.h | ||
| chacha_private.h | ||
| chachapoly.c | ||
| cmac.c | ||
| CMakeLists.txt | ||
| crypto.c | ||
| cryptodev.c | ||
| cryptosoft.c | ||
| curve25519.c | ||
| des_locl.h | ||
| ecb3_enc.c | ||
| ecb_enc.c | ||
| ecc.c | ||
| gmac.c | ||
| hmac.c | ||
| hmac_buff.c | ||
| idgen.c | ||
| Kconfig | ||
| key_wrap.c | ||
| Makefile | ||
| md5.c | ||
| podd.h | ||
| poly1305.c | ||
| random_pool.c | ||
| rijndael.c | ||
| rmd160.c | ||
| set_key.c | ||
| sha1.c | ||
| sha2.c | ||
| siphash.c | ||
| sk.h | ||
| spr.h | ||
| testmngr.c | ||
| testmngr.h | ||
| xform.c | ||