crypto: fix ops flags in crypto sw scheduler 17/30917/3
authorBenoît Ganne <bganne@cisco.com>
Fri, 22 Jan 2021 17:11:37 +0000 (18:11 +0100)
committerDamjan Marion <dmarion@me.com>
Thu, 4 Mar 2021 11:08:36 +0000 (11:08 +0000)
commit30ad571cc35e4dc6d4d7e50b81b97f83f8770eea
tree6ca91cdc8ab5ef0d4a7ec96c6e81ff867e2373e9
parent40ee2003bc79baca594dc71f1cd0b7540a774c85
crypto: fix ops flags in crypto sw scheduler

The sw crypto scheduler converts crypto frames to individual crypto
operations. This is done by reusing per-thread vectors for crypto,
integrity and chained operations.
The crypto op flags must be reset to frame flags minus invalid values
depending of the operation.
The previous tentative also cleared the chained buffer flag, breaking
jumbo support.

Type: fix

Change-Id: Icce6887a9e0dae8c300c56e97b977e203e784713
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/crypto_sw_scheduler/main.c