aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2025-07-14 14:59:12 +0000
committerHerbert Xu <[email protected]>2025-07-27 12:41:45 +0000
commita71475582ada92ba021852bf3c2b40ab3718549b (patch)
treeb5281190e1830f205e5fc3de34782f48b2407056 /tools/testing/selftests/net/lib/py/utils.py
parentcrypto: qat - refactor ring-related debug functions (diff)
downloadkernel-a71475582ada92ba021852bf3c2b40ab3718549b.tar.gz
kernel-a71475582ada92ba021852bf3c2b40ab3718549b.zip
crypto: ccp - reduce stack usage in ccp_run_aes_gcm_cmd
A number of functions in this file have large structures on the stack, ccp_run_aes_gcm_cmd() being the worst, in particular when KASAN is enabled on gcc: drivers/crypto/ccp/ccp-ops.c: In function 'ccp_run_sha_cmd': drivers/crypto/ccp/ccp-ops.c:1833:1: error: the frame size of 1136 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] drivers/crypto/ccp/ccp-ops.c: In function 'ccp_run_aes_gcm_cmd': drivers/crypto/ccp/ccp-ops.c:914:1: error: the frame size of 1632 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] Avoid the issue by using dynamic memory allocation in the worst one of these. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Tom Lendacky <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions