linux/arch
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
..
alpha treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
arc irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
arm crypto: lib/chacha - add array bounds to function prototypes 2025-05-12 13:32:53 +08:00
arm64 crypto: lib/chacha - add array bounds to function prototypes 2025-05-12 13:32:53 +08:00
csky mm: pgtable: convert some architectures to use tlb_remove_ptdesc() 2025-04-01 15:17:13 -07:00
hexagon CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
loongarch LoongArch fixes for v6.15-rc4 2025-04-26 09:02:41 -07:00
m68k CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
microblaze microblaze/mm: put mm_cmdline_setup() in .init.text section 2025-04-01 15:17:13 -07:00
mips crypto: lib/chacha - add array bounds to function prototypes 2025-05-12 13:32:53 +08:00
nios2 A set of updates for the interrupt subsystem: 2025-04-06 08:17:43 -07:00
openrisc OpenRISC updates for 6.15 2025-04-26 09:01:13 -07:00
parisc parisc architecture fix for kernel v6.15-rc5: 2025-05-04 08:47:18 -07:00
powerpc crypto: lib/chacha - add array bounds to function prototypes 2025-05-12 13:32:53 +08:00
riscv crypto: lib/chacha - add array bounds to function prototypes 2025-05-12 13:32:53 +08:00
s390 crypto: lib/chacha - add array bounds to function prototypes 2025-05-12 13:32:53 +08:00
sh CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
sparc crypto: arch/sha256 - Export block functions as GPL only 2025-05-05 18:20:45 +08:00
um um: Include linux/types.h in asm/fpu/api.h 2025-05-07 16:45:40 +08:00
x86 crypto: lib/chacha - add array bounds to function prototypes 2025-05-12 13:32:53 +08:00
xtensa treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
.gitignore
Kconfig Kbuild updates for v6.15 2025-04-05 15:46:50 -07:00