Re: [PATCH] crypto: ccree - replace snprintf("%s") with strscpy

From: Herbert Xu

Date: Fri May 15 2026 - 06:37:20 EST


On Wed, May 06, 2026 at 11:21:51AM +0200, Thorsten Blum wrote:
> Replace snprintf("%s") with the faster and more direct strscpy().
>
> In cc_aead.c, group the includes while at it.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> drivers/crypto/ccree/cc_aead.c | 9 ++++-----
> drivers/crypto/ccree/cc_cipher.c | 7 +++----
> drivers/crypto/ccree/cc_hash.c | 13 +++++--------
> 3 files changed, 12 insertions(+), 17 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt