From: Szymon Sliwa Date: Tue, 20 Feb 2018 17:22:51 +0000 (+0100) Subject: plugins: odp: delete aad field initialization X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F10759%2F1;p=odp4vpp.git 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 --- 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;