ipsec: trunc_size -> icv_size
Change-Id: Idb661261c2191adda963a7815822fd7a27a9e7a0
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vnet/ipsec/esp.h b/src/vnet/ipsec/esp.h
index 0f75d54..b6942fa 100644
--- a/src/vnet/ipsec/esp.h
+++ b/src/vnet/ipsec/esp.h
@@ -103,7 +103,7 @@
op->src = data;
op->len = data_len;
op->dst = signature;
- op->hmac_trunc_len = sa->integ_trunc_size;
+ op->hmac_trunc_len = sa->integ_icv_size;
if (ipsec_sa_is_set_USE_ESN (sa))
{
@@ -114,7 +114,7 @@
}
vnet_crypto_process_ops (vm, op, 1);
- return sa->integ_trunc_size;
+ return sa->integ_icv_size;
}
#endif /* __ESP_H__ */