crypto: fix coverity issue for cryptodev 96/27096/3
authorFan Zhang <roy.fan.zhang@intel.com>
Fri, 15 May 2020 07:58:37 +0000 (08:58 +0100)
committerDamjan Marion <dmarion@me.com>
Thu, 16 Jul 2020 21:42:00 +0000 (21:42 +0000)
commit49338494398e65e6ee24d76b06e64b17e99bc815
tree8ac0d1195fe2b9b986aeed66b3cdf1c1c2027b28
parent1bd6f61820c6c15534ebb04a4b070ba84bf08a9d
crypto: fix coverity issue for cryptodev

- Fixes coverity issue #210160.
- Fixes the possible issue in cryptodev when input node does
  not update mbuf, such as avf-input.
- Fixes GCM ESN packet incorrect tag.
- Code clean up to reduce binary size.

Type: fix

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Signed-off-by: Dariusz Kazimierski <dariuszx.kazimierski@intel.com>
Signed-off-by: Piotr Kleski <piotrx.kleski@intel.com>
Change-Id: Ic05ae29855ac1f7a62e4af5831a4ed9faa8f561a
src/plugins/dpdk/cryptodev/cryptodev.c