summaryrefslogtreecommitdiffstats
path: root/crypto/chacha_generic.c
diff options
context:
space:
mode:
authorEric Biggers2019-06-03 07:46:34 +0200
committerHerbert Xu2019-06-13 08:31:40 +0200
commit76cadf2244518d3b1610082d037b01e2651ea402 (patch)
treefa49ad9a1ffc55c43d86459fd89f1779f1615793 /crypto/chacha_generic.c
parentcrypto: skcipher - make chunksize and walksize accessors internal (diff)
downloadkernel-qcow2-linux-76cadf2244518d3b1610082d037b01e2651ea402.tar.gz
kernel-qcow2-linux-76cadf2244518d3b1610082d037b01e2651ea402.tar.xz
kernel-qcow2-linux-76cadf2244518d3b1610082d037b01e2651ea402.zip
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 'crypto/chacha_generic.c')
0 files changed, 0 insertions, 0 deletions