Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
---
 example/ipsec/odp_ipsec_cache.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/example/ipsec/odp_ipsec_cache.c b/example/ipsec/odp_ipsec_cache.c
index b2a91c242fe0..dba0ea0ab0c6 100644
--- a/example/ipsec/odp_ipsec_cache.c
+++ b/example/ipsec/odp_ipsec_cache.c
@@ -100,6 +100,7 @@ int create_ipsec_cache_entry(sa_db_entry_t *cipher_sa,
                params.auth_alg = auth_sa->alg.u.auth;
                params.auth_key.data = auth_sa->key.data;
                params.auth_key.length = auth_sa->key.length;
+               params.auth_digest_len = auth_sa->icv_len;
                mode = auth_sa->mode;
        } else {
                params.auth_alg = ODP_AUTH_ALG_NULL;
-- 
2.11.0

Reply via email to