linux/arch/powerpc
Eric Biggers bdc2a55687 crypto: lib/chacha - add array bounds to function prototypes
Add explicit array bounds to the function prototypes for the parameters
that didn't already get handled by the conversion to use chacha_state:

- chacha_block_*():
  Change 'u8 *out' or 'u8 *stream' to u8 out[CHACHA_BLOCK_SIZE].

- hchacha_block_*():
  Change 'u32 *out' or 'u32 *stream' to u32 out[HCHACHA_OUT_WORDS].

- chacha_init():
  Change 'const u32 *key' to 'const u32 key[CHACHA_KEY_WORDS]'.
  Change 'const u8 *iv' to 'const u8 iv[CHACHA_IV_SIZE]'.

No functional changes.  This just makes it clear when fixed-size arrays
are expected.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-05-12 13:32:53 +08:00
..
boot powerpc/boot: Fix dash warning 2025-04-24 12:25:39 +05:30
configs CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
crypto crypto: powerpc/sha256 - implement library instead of shash 2025-05-05 18:20:43 +08:00
include powerpc updates for 6.15 #2 2025-04-02 12:35:49 -07:00
kernel powerpc64/ftrace: fix module loading without patchable function entries 2025-04-15 11:40:54 +05:30
kexec - The 7 patch series "powerpc/crash: use generic crashkernel 2025-04-01 10:06:52 -07:00
kvm A set of final cleanups for the timer subsystem: 2025-04-06 08:35:37 -07:00
lib crypto: lib/chacha - add array bounds to function prototypes 2025-05-12 13:32:53 +08:00
math-emu
mm book3s64/radix : Align section vmemmap start address to PAGE_SIZE 2025-04-15 11:30:37 +05:30
net powerpc updates for 6.13 2024-11-23 10:44:31 -08:00
perf Driver core updates for 6.15-rc1 2025-04-01 11:02:03 -07:00
platforms powerpc: Add check to select PPC_RADIX_BROADCAST_TLBIE 2025-04-15 11:42:26 +05:30
purgatory Makefile: remove redundant tool coverage variables 2024-05-14 23:35:48 +09:00
sysdev irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
tools powerpc/ftrace: Fix ftrace bug with KASAN=y 2024-11-10 22:33:51 +11:00
xmon powerpc updates for 6.15 2025-03-27 19:39:08 -07:00
Kbuild powerpc64/ftrace: Move ftrace sequence out of line 2024-10-31 11:00:54 +11:00
Kconfig - The 7 patch series "powerpc/crash: use generic crashkernel 2025-04-01 10:06:52 -07:00
Kconfig.debug powerpc: Remove UDBG_RTAS_CONSOLE 2025-02-26 21:15:09 +05:30
Makefile Kbuild updates for v6.13 2024-11-30 13:41:50 -08:00
Makefile.postlink powerpc/ftrace: Add a postlink script to validate function tracer 2024-10-31 11:00:54 +11:00