diff options
author | Tero Kristo <t-kristo@ti.com> | 2019-11-05 16:01:11 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-12-11 16:37:00 +0800 |
commit | 839bb2a9ca73a99e1df882d14fe8060761373376 (patch) | |
tree | 5b86fcabe275a6b89d203014ae06cea0b5c3fc7c /include/crypto | |
parent | aca8bf0027d3ab4492d47e6b05b13911948903db (diff) |
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