aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/locking/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-11-22 11:42:01 -0800
committerEric Biggers <ebiggers@kernel.org>2025-11-23 12:19:47 -0800
commit1b31b43bf5c2b7ae8b0f9acac036354ea28b0397 (patch)
tree32f468c6ecd02a88bad9fda14974034cd4262dd1 /kernel/locking/git:/ssh:/git@git.zx2c4.com
parentlib/crypto: chacha20poly1305: Statically check fixed array lengths (diff)
downloadlinux-rng-1b31b43bf5c2b7ae8b0f9acac036354ea28b0397.tar.xz
linux-rng-1b31b43bf5c2b7ae8b0f9acac036354ea28b0397.zip
lib/crypto: chacha: Add at_least decoration to fixed-size array params
Add the at_least (i.e. 'static') decoration to the fixed-size array parameters of the chacha library functions. This causes clang to warn when a too-small array of known size is passed. Acked-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: "Jason A. Donenfeld" <Jason@zx2c4.com> Link: https://lore.kernel.org/r/20251122194206.31822-2-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'kernel/locking/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions