diff options
author | Eric Biggers <ebiggers@google.com> | 2019-06-03 08:46:34 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-06-13 09:31:40 +0300 |
commit | 76cadf2244518d3b1610082d037b01e2651ea402 (patch) | |
tree | fa49ad9a1ffc55c43d86459fd89f1779f1615793 /arch/arm/crypto | |
parent | 314d0f0ea69f2fb8e6fc4cb5d5ae6b1e3418e36c (diff) | |
download | linux-76cadf2244518d3b1610082d037b01e2651ea402.tar.xz |
crypto: chacha20poly1305 - a few cleanups
- Use sg_init_one() instead of sg_init_table() then sg_set_buf().
- Remove unneeded calls to sg_init_table() prior to scatterwalk_ffwd().
- Simplify initializing the poly tail block.
- Simplify computing padlen.
This doesn't change any actual behavior.
Cc: Martin Willi <martin@strongswan.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/crypto')
0 files changed, 0 insertions, 0 deletions