diff options
| author | 2025-11-22 11:42:05 -0800 | |
|---|---|---|
| committer | 2025-11-23 12:19:47 -0800 | |
| commit | d5cc4e731de7edb1a2b7940d0f0badf9956dddb7 (patch) | |
| tree | 46f64ef5c6dac0f6729782c01cf8b4c60bb83c22 /rust/ssh:/git@git.zx2c4.com | |
| parent | lib/crypto: poly1305: Add at_least decoration to fixed-size array params (diff) | |
| download | linux-rng-d5cc4e731de7edb1a2b7940d0f0badf9956dddb7.tar.xz linux-rng-d5cc4e731de7edb1a2b7940d0f0badf9956dddb7.zip | |
lib/crypto: sha1: 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 sha1 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-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'rust/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
