diff options
author | Eric Biggers <ebiggers@google.com> | 2019-03-14 21:21:28 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-03-22 20:57:28 +0800 |
commit | f6fff17072232480ef471eae80a22b66b1dd8b7a (patch) | |
tree | 798544822b28f3eb3d1d59699b34e280f30440e0 /mm/slab.h | |
parent | 29d97dec22dde5d2c4ccb23c50a11e94a5911861 (diff) | |
download | linux-next-f6fff17072232480ef471eae80a22b66b1dd8b7a.tar.gz |
crypto: salsa20-generic - use crypto_xor_cpy()
In salsa20_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>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions