diff options
author | Eric Biggers <ebiggers@google.com> | 2025-05-05 21:18:24 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-05-12 08:32:53 +0300 |
commit | bdc2a55687f123bd32aaefb81e11c7450a431eaf (patch) | |
tree | 1d654231eecaaabd4860e631a248c04a45718abb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 607c92141cdec6e472d80de813f5251685b9ddc1 (diff) | |
download | linux-bdc2a55687f123bd32aaefb81e11c7450a431eaf.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions