]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: lib/chacha - use struct assignment to copy state
authorEric Biggers <ebiggers@google.com>
Mon, 5 May 2025 18:18:22 +0000 (11:18 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 12 May 2025 05:32:53 +0000 (13:32 +0800)
commit32c9541189eb31ba6b25e2ff28e42660394a62af
treeff4c599abd810c65b6b5e6ff590b16395bf55ab9
parent98066f2f8901ccf72f3c5d6c391c8fff1cabd49d
crypto: lib/chacha - use struct assignment to copy state

Use struct assignment instead of memcpy() in lib/crypto/chacha.c where
appropriate.  No functional change.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
lib/crypto/chacha.c