commit | 29d97dec22dde5d2c4ccb23c50a11e94a5911861 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Thu Mar 14 21:20:36 2019 -0700 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Mar 22 20:57:28 2019 +0800 |
tree | 04518f1abf14116f9264c528b193ad25fe94c698 | |
parent | dcf7b48212c0fab7df69e84fab22d6cb7c8c0fb9 [diff] |
crypto: chacha-generic - use crypto_xor_cpy() In chacha_docrypt(), use crypto_xor_cpy() instead of crypto_xor(). This avoids having to memcpy() the src buffer to the dst buffer. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>