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
..
2025-04-17 10:41:47 +08:00
2025-03-15 15:08:53 +08:00
2025-03-21 17:33:38 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:45 +08:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:36:24 +08:00
2025-05-05 18:20:44 +08:00
2023-05-24 18:12:33 +08:00
2023-05-24 18:12:33 +08:00
2023-05-24 18:12:33 +08:00
2021-03-19 21:59:45 +11:00
2025-05-05 18:20:44 +08:00
2022-12-02 18:12:40 +08:00
2024-05-31 17:34:56 +08:00
2025-05-05 18:20:46 +08:00
2025-04-16 15:36:24 +08:00
2025-04-16 15:36:24 +08:00
2025-05-05 18:20:44 +08:00
2023-06-24 15:50:13 -07:00
2024-05-31 17:34:56 +08:00
2023-06-24 15:50:13 -07:00
2024-05-31 17:34:56 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-04-28 19:40:54 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2022-12-02 18:12:40 +08:00
2025-05-05 18:20:44 +08:00
2025-03-02 15:19:43 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2024-05-31 17:34:56 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-12 13:32:53 +08:00
2024-12-02 11:34:44 -08:00
2025-05-05 18:20:44 +08:00
2025-03-15 16:21:22 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-04-25 10:46:04 +08:00
2025-05-05 18:20:44 +08:00
2025-03-21 17:39:06 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:45 +08:00
2025-05-05 18:20:44 +08:00
2022-03-03 10:47:50 +12:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2024-04-12 15:07:52 +08:00
2025-02-09 18:08:12 +08:00
2021-03-13 00:04:03 +11:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:16:21 +08:00
2025-04-16 15:16:21 +08:00
2025-05-05 18:20:44 +08:00
2021-03-26 19:41:58 +11:00
2025-05-05 18:20:44 +08:00
2024-04-12 15:07:52 +08:00
2019-04-18 22:15:02 +08:00
2019-04-18 22:15:02 +08:00
2025-04-16 15:16:21 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2020-07-16 21:49:08 +10:00
2025-05-05 18:20:44 +08:00
2023-10-27 18:04:30 +08:00
2024-04-02 10:49:38 +08:00
2025-05-05 18:20:44 +08:00
2025-03-20 16:53:53 -07:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:36:24 +08:00
2024-04-05 15:46:33 +08:00
2024-10-19 08:44:30 +08:00
2024-08-30 18:22:30 +08:00
2024-10-19 08:44:30 +08:00
2025-05-05 13:38:12 +08:00
2022-11-25 17:39:18 +08:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:36:24 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:36:24 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 13:38:12 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-03-21 17:39:06 +08:00
2021-01-29 16:07:04 +11:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:36:24 +08:00
2019-05-30 11:26:32 -07:00
2024-10-05 13:22:04 +08:00
2025-05-05 18:20:44 +08:00
2023-10-27 18:04:28 +08:00
2023-10-27 18:04:28 +08:00
2025-04-16 15:16:21 +08:00
2025-04-28 19:45:26 +08:00
2025-05-05 18:20:45 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-04-23 15:52:46 +08:00
2025-05-05 18:20:45 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:46 +08:00
2025-04-16 15:36:24 +08:00
2024-08-24 21:39:15 +08:00
2025-04-28 19:45:26 +08:00
2024-04-02 10:49:38 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2024-10-02 17:23:23 -04:00
2025-05-05 18:20:44 +08:00
2025-04-16 15:16:20 +08:00
2023-01-20 18:29:31 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 13:33:00 +08:00
2025-05-05 13:33:00 +08:00
2022-12-02 18:12:40 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2024-08-02 20:53:25 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00