aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/crypto
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2019-11-05 16:01:11 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-12-11 16:37:00 +0800
commit839bb2a9ca73a99e1df882d14fe8060761373376 (patch)
tree5b86fcabe275a6b89d203014ae06cea0b5c3fc7c /include/crypto
parentcrypto: omap-des - handle NULL cipher request (diff)
downloadwireguard-linux-839bb2a9ca73a99e1df882d14fe8060761373376.tar.xz
wireguard-linux-839bb2a9ca73a99e1df882d14fe8060761373376.zip
crypto: omap-crypto - copy the temporary data to output buffer properly
Both source and destination are scatterlists that can contain multiple entries under the omap crypto cleanup handling. Current code only copies data from the first source scatterlist entry to the target scatterlist, potentially omitting any sg entries following the first one. Instead, implement a new routine that walks through both source and target and copies the data over once it goes. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions