]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: caam - use print_hex_dump_devel to guard key hex dumps
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 27 Apr 2026 16:39:39 +0000 (18:39 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 7 May 2026 08:10:02 +0000 (16:10 +0800)
commit8005dc808bcce7d6cc2ae015a3cde1683bee602d
tree2a9ff19a4baa53c07e6f168ad0cd733719c21ec1
parent3f57657b6ea23f933371f2c2846322f441773cee
crypto: caam - use print_hex_dump_devel to guard key hex dumps

Use print_hex_dump_devel() for dumping sensitive key material in
*_setkey() to avoid leaking secrets at runtime when CONFIG_DYNAMIC_DEBUG
is enabled.

Fixes: 8d818c105501 ("crypto: caam/qi2 - add DPAA2-CAAM driver")
Fixes: 226853ac3ebe ("crypto: caam/qi2 - add skcipher algorithms")
Cc: stable@vger.kernel.org
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg_qi2.c