plugins: odp: ipsec: Fix multiple issues 56/10656/1
authorSzymon Sliwa <[email protected]>
Wed, 14 Feb 2018 14:57:48 +0000 (15:57 +0100)
committerSzymon Sliwa <[email protected]>
Mon, 19 Feb 2018 16:47:48 +0000 (17:47 +0100)
commit808c3e6e7b1c764bd77b12d4bc5ffc68707971a9
treebfff91d9efaa39b0ddc4b5c3d165aef26160edd9
parent34c3e2b4a949cba8ebe54af9cacb32419a3717da
plugins: odp: ipsec: Fix multiple issues

1) added casts on assignment to post_crypto.next_index
   as the type of the field changed
2) removed checking result when crypto operation is
   asynchronous as it make no sense
3) fixed bug which could cause issues when some of the
   operations are done synchronously and some
   asynchronously

Change-Id: I123d70402c0210b11dfc2d0fff2c72aa100ce838
Signed-off-by: Szymon Sliwa <[email protected]>
src/plugins/odp/ipsec/esp_decrypt.c
src/plugins/odp/ipsec/esp_encrypt.c