diff options
| author | Thorsten Blum <[email protected]> | 2024-08-05 22:11:30 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2024-08-17 05:55:49 +0000 |
| commit | 18e2188c4b2069cf52c12344b47b4f7ac982f555 (patch) | |
| tree | da8c1cb66e0333d1d02f990ecc2b94569700e19e /lib/crypto/mpi/mpicoder.c | |
| parent | crypto: spacc - Add ifndef around MIN (diff) | |
| download | kernel-18e2188c4b2069cf52c12344b47b4f7ac982f555.tar.gz kernel-18e2188c4b2069cf52c12344b47b4f7ac982f555.zip | |
crypto: chacha20poly1305 - Annotate struct chachapoly_ctx with __counted_by()
Add the __counted_by compiler attribute to the flexible array member
salt to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
CONFIG_FORTIFY_SOURCE.
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Thorsten Blum <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
