diff options
author | Vutla, Lokesh <[email protected]> | 2015-03-31 09:52:25 +0530 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2015-04-01 22:22:43 +0800 |
commit | 6d7e7e02a044025237b6f62a20521170b794537f (patch) | |
tree | 72f6f90b3f216c6d38af242630d71d5dc15bd2da /tools/perf/scripts/python/check-perf-trace.py | |
parent | b0a3d8986a768c8b6a95ea6dd36e975bb3a44c44 (diff) |
crypto: omap-aes - Fix support for unequal lengths
For cases where total length of an input SGs is not same as
length of the input data for encryption, omap-aes driver
crashes. This happens in the case when IPsec is trying to use
omap-aes driver.
To avoid this, we copy all the pages from the input SG list
into a contiguous buffer and prepare a single element SG list
for this buffer with length as the total bytes to crypt, which is
similar thing that is done in case of unaligned lengths.
Fixes: 6242332ff2f3 ("crypto: omap-aes - Add support for cases of unaligned lengths")
Signed-off-by: Lokesh Vutla <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions