]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: ccp - Replace snprintf("%s") with strscpy
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 24 Mar 2026 11:30:07 +0000 (12:30 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Apr 2026 00:56:11 +0000 (08:56 +0800)
commitee31b703e808f75a98b958305fbf2765a4e172a9
tree0462cf0d12d80d0080aaa93288b82150ebf7723c
parentd7f3162ff802b5c39e3c449be8bccd297a4d7267
crypto: ccp - Replace snprintf("%s") with strscpy

Replace snprintf("%s") with the faster and more direct strscpy().

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-crypto-aes-galois.c
drivers/crypto/ccp/ccp-crypto-aes-xts.c
drivers/crypto/ccp/ccp-crypto-aes.c
drivers/crypto/ccp/ccp-crypto-des3.c
drivers/crypto/ccp/ccp-crypto-rsa.c
drivers/crypto/ccp/ccp-crypto-sha.c