@@ -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>
@@ -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 */