linux/arch/arm64/crypto
Kees Cook 3a2c4d55e3 treewide: refresh kmalloc_obj() conversions
This is another run of the Coccinelle script for converting kmalloc()
family of allocations to kmalloc_obj() via the existing rules in
scripts/coccinelle/api/kmalloc_objs.cocci

This catches both the set of kmalloc() uses added since the first
kmalloc_obj() conversions in v7.0 and adds a large group missed in the
first pass due to Coccinelle not interacting well with the cleanup.h
scoped_...() family of macros[1]. I worked around this with spatch's
"--macro-file" argument to a file with all the scoped_...() macros mapped
to Coccinelle's YACFE_ITERATOR[2] as that was the closest viable control
flow indicator I could find.

Build tested allmodconfig on x86, arm64, arm, loongarch, mips, powerpc,
riscv, and s390 with no new warnings.

Link: https://lore.kernel.org/lkml/202609021314.8A9C0B8@keescook/ [1]
Link: https://github.com/coccinelle/coccinelle/blob/master/standard.h [2]
Signed-off-by: Kees Cook <kees+treewide@kernel.org>
2026-09-04 21:37:00 -07:00
..
.gitignore SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
aes-ce-ccm-core.S crypto: arm64/aes-ccm - Merge finalization into en/decrypt asm helpers 2024-01-26 16:39:32 +08:00
aes-ce-ccm-glue.c lib/crypto: arm64/aes: Remove obsolete chunking logic 2026-04-01 13:02:09 -07:00
aes-glue-ce.c crypto: arm64/aes - remove Makefile hack 2023-08-11 19:19:27 +08:00
aes-glue-neon.c crypto: arm64/aes - remove Makefile hack 2023-08-11 19:19:27 +08:00
aes-glue.c lib/crypto: arm64/aes: Migrate optimized CBC-based MACs into library 2026-03-09 13:27:20 -07:00
aes-neonbs-core.S crypto: arm64/aes-neonbs - fix crash with CFI enabled 2023-03-14 17:06:44 +08:00
aes-neonbs-glue.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
ghash-ce-core.S crypto: arm64/aes-gcm - Rename struct ghash_key and make fixed-sized 2026-03-23 16:44:29 -07:00
ghash-ce-glue.c crypto: arm64/aes-gcm - Rename struct ghash_key and make fixed-sized 2026-03-23 16:44:29 -07:00
Kconfig lib/crypto: arm64/sm3: Migrate optimized code into library 2026-03-23 17:50:59 -07:00
Makefile lib/crypto: arm64/sm3: Migrate optimized code into library 2026-03-23 17:50:59 -07:00
sm4-ce-asm.h crypto: arm64/sm4 - refactor and simplify CE implementation 2022-11-04 17:34:31 +08:00
sm4-ce-ccm-core.S crypto: arm64/sm4 - fix possible crash with CFI enabled 2022-12-30 17:57:42 +08:00
sm4-ce-ccm-glue.c crypto/arm64: sm4 - Switch to 'ksimd' scoped guard API 2025-11-12 09:52:02 +01:00
sm4-ce-cipher-core.S crypto: arm64/sm4-ce - rename to sm4-ce-cipher 2022-04-08 16:12:47 +08:00
sm4-ce-cipher-glue.c crypto/arm64: sm4 - Switch to 'ksimd' scoped guard API 2025-11-12 09:52:02 +01:00
sm4-ce-core.S crypto: arm64/sm4 - Remove cfb(sm4) 2023-12-08 11:59:45 +08:00
sm4-ce-gcm-core.S crypto: arm64/sm4 - fix possible crash with CFI enabled 2022-12-30 17:57:42 +08:00
sm4-ce-gcm-glue.c crypto/arm64: sm4 - Switch to 'ksimd' scoped guard API 2025-11-12 09:52:02 +01:00
sm4-ce-glue.c crypto/arm64: sm4/xts - Merge ksimd scopes to reduce stack bloat 2025-12-09 15:10:21 -08:00
sm4-ce.h crypto: arm64/sm4 - Remove cfb(sm4) 2023-12-08 11:59:45 +08:00
sm4-neon-core.S crypto: arm64/sm4 - Remove cfb(sm4) 2023-12-08 11:59:45 +08:00
sm4-neon-glue.c crypto/arm64: sm4 - Switch to 'ksimd' scoped guard API 2025-11-12 09:52:02 +01:00