aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Sliwa <szs@semihalf.com>2018-02-20 18:22:51 +0100
committerSzymon Sliwa <szs@semihalf.com>2018-02-22 16:13:44 +0100
commit0f4208d9f30bb3bfea814383e8d1a3a254c14580 (patch)
tree55484caf23dda16f668fddeeed40d6b6fc4cc2f2
parent5f1fe8111ce9dae9a96df83963a1c4cbbb89a25f (diff)
plugins: odp: delete aad field initialization
Due to some bugs in the old odp-dpdk aad field needed to be manually initialized to 0. That is no longer true, what's more odp does not contain this field, thus making it impossible to compile. Due to above mentioned reasons, delete this. Change-Id: I5ec9278d44e49991fad741a43100da4b64823bf3 Signed-off-by: Szymon Sliwa <szs@semihalf.com>
-rw-r--r--src/plugins/odp/ipsec/esp_decrypt.c2
-rw-r--r--src/plugins/odp/ipsec/esp_encrypt.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/odp/ipsec/esp_decrypt.c b/src/plugins/odp/ipsec/esp_decrypt.c
index 442776a3..8a851a78 100644
--- a/src/plugins/odp/ipsec/esp_decrypt.c
+++ b/src/plugins/odp/ipsec/esp_decrypt.c
@@ -203,8 +203,6 @@ odp_crypto_esp_decrypt_node_fn (vlib_main_t * vm,
crypto_op_params.session = sa_sess_data->sess;
crypto_op_params.ctx = NULL;
- crypto_op_params.aad.ptr = NULL;
- crypto_op_params.aad.length = 0;
crypto_op_params.pkt = odp_packet_from_vlib_buffer (b0);
crypto_op_params.out_pkt = crypto_op_params.pkt;
crypto_op_params.override_iv_ptr = sa_sess_data->iv_data;
diff --git a/src/plugins/odp/ipsec/esp_encrypt.c b/src/plugins/odp/ipsec/esp_encrypt.c
index 1b42effd..757eef88 100644
--- a/src/plugins/odp/ipsec/esp_encrypt.c
+++ b/src/plugins/odp/ipsec/esp_encrypt.c
@@ -345,8 +345,6 @@ odp_crypto_esp_encrypt_node_fn (vlib_main_t * vm,
crypto_op_params.session = sa_sess_data->sess;
crypto_op_params.ctx = NULL;
- crypto_op_params.aad.ptr = NULL;
- crypto_op_params.aad.length = 0;
crypto_op_params.pkt = pkt;
crypto_op_params.out_pkt = pkt;