diff options
author | Benoît Ganne <bganne@cisco.com> | 2021-06-14 17:19:46 +0200 |
---|---|---|
committer | Fan Zhang <roy.fan.zhang@intel.com> | 2021-07-02 09:21:20 +0000 |
commit | ecadf6a5395968092e093f7fa1d40a17762ebac1 (patch) | |
tree | 3135d402c1732843f43a8940ce185bff6c553574 /extras/emacs | |
parent | e40e7542a9fbafd96dac823e7005ec4fb96b6b87 (diff) |
crypto: fix sw async crypto with chained buffers
When a buffer in the chain comes with a negative current_data offset,
the conversion to sgl will skip it because of resetting offset to 0.
Moreover, crypto_start_offset is relative to the 1st buffer data pointer
so we should not check it against subsequent buffers anyway.
Type: fix
Change-Id: Id177a90bfda242a5372c7e8836cf6668e98c780e
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'extras/emacs')
0 files changed, 0 insertions, 0 deletions