Re: [PATCH] crypto: marvell/cesa - use memcpy_and_pad in mv_cesa_ahash_export
From: Herbert Xu
Date: Fri Mar 27 2026 - 06:06:51 EST
On Tue, Mar 17, 2026 at 05:52:57PM +0100, Thorsten Blum wrote:
> Replace memset() followed by memcpy() with memcpy_and_pad() to simplify
> the code and to write to 'cache' only once.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> drivers/crypto/marvell/cesa/hash.c | 3 +--
> 1 file changed, 1 insertion(+), 2 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