From 0f4208d9f30bb3bfea814383e8d1a3a254c14580 Mon Sep 17 00:00:00 2001 From: Szymon Sliwa Date: Tue, 20 Feb 2018 18:22:51 +0100 Subject: 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 --- src/plugins/odp/ipsec/esp_decrypt.c | 2 -- src/plugins/odp/ipsec/esp_encrypt.c | 2 -- 2 files changed, 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; -- cgit 1.2.3-korg