diff mbox series

[API-NEXT,v8,10/10] linux-gen: drop unnecessary odp_crypto_internal include

Message ID 1510689611-17861-11-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v8,1/10] api: crypto: add AES-GMAC declarations | expand

Commit Message

Github ODP bot Nov. 14, 2017, 8 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 288 (lumag:gmac)
 ** https://github.com/Linaro/odp/pull/288
 ** Patch: https://github.com/Linaro/odp/pull/288.patch
 ** Base sha: ba93e355ddf151215aa18b59cbfca08fe175fe65
 ** Merge commit sha: 8363c3a4073075d0f3dd68864b9a33819005aab4
 **/
 platform/linux-generic/include/odp_packet_internal.h | 1 -
 platform/linux-generic/odp_ipsec.c                   | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/platform/linux-generic/include/odp_packet_internal.h b/platform/linux-generic/include/odp_packet_internal.h
index e62854b1e..1ebe46901 100644
--- a/platform/linux-generic/include/odp_packet_internal.h
+++ b/platform/linux-generic/include/odp_packet_internal.h
@@ -25,7 +25,6 @@  extern "C" {
 #include <odp/api/packet.h>
 #include <odp/api/packet_io.h>
 #include <odp/api/crypto.h>
-#include <odp_crypto_internal.h>
 #include <odp_ipsec_internal.h>
 #include <odp/api/plat/packet_types.h>
 #include <odp_queue_if.h>
diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c
index d54ec3286..0ebc65341 100644
--- a/platform/linux-generic/odp_ipsec.c
+++ b/platform/linux-generic/odp_ipsec.c
@@ -264,7 +264,7 @@  static ipsec_sa_t *ipsec_in_single(odp_packet_t pkt,
 	unsigned stats_length;
 	uint16_t ipsec_offset;   /**< Offset of IPsec header from
 				      buffer start */
-	uint8_t	iv[MAX_IV_LEN];  /**< ESP IV storage */
+	uint8_t	iv[IPSEC_MAX_IV_LEN];  /**< ESP IV storage */
 	ipsec_aad_t aad;         /**< AAD, note ESN is not fully supported */
 	unsigned hdr_len;        /**< Length of IPsec headers */
 	unsigned trl_len;        /**< Length of IPsec trailers */
@@ -628,7 +628,7 @@  static ipsec_sa_t *ipsec_out_single(odp_packet_t pkt,
 	int rc;
 	uint16_t ipsec_offset;   /**< Offset of IPsec header from
 				      buffer start */
-	uint8_t	iv[MAX_IV_LEN];  /**< ESP IV storage */
+	uint8_t	iv[IPSEC_MAX_IV_LEN];  /**< ESP IV storage */
 	ipsec_aad_t aad;         /**< AAD, note ESN is not fully supported */
 	unsigned hdr_len;        /**< Length of IPsec headers */
 	unsigned trl_len;        /**< Length of IPsec trailers */