From patchwork Thu Jun 1 08:22:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 100822 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp696021qge; Thu, 1 Jun 2017 01:29:24 -0700 (PDT) X-Received: by 10.55.111.198 with SMTP id k189mr294711qkc.160.1496305764931; Thu, 01 Jun 2017 01:29:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496305764; cv=none; d=google.com; s=arc-20160816; b=NrzZj4b3+gh/WsrxO6NBNrmymauoZfFwNR21knQ7hcXiH8gaJOCDmKuBxMTAjbOKWB YUG7pKVgYajDI+9XlQtk/wShXzY4h1iEZTldlSaH7MsHXXLEc4oBz1mlBig8jz6/0r5d sHpUooX211WXW5NMVuXpTzS1l8MNROUfUE9FZ42CG8yu2n+PfE/AOqpyZl9TH2aTi70S EzmoFx2v9JbteQXvlzQ0c2RMHZtWsL87ESkPYyvMwllP47ZUhg6K79PnamwL1B/Tpivh wehLNmujHSv041kSJZzGZb0deX0/MWm2ZlG3DM72Pmiia0IC+A3zeBgirO5/gbMhHJjr hP4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=x6njpu0m23EKhgdO1OU81zglp/NKztNL1/DKu/8Bl5w=; b=JkpSkD+eZ23GXYd2pkLQnpSYT1lOUi4eRXtt1k+3rRHx4dfo8uhPFZFXtOH/aYte1n IkyMIyeL9ZYJNjd33ALDHfEiqKT5l141nKHaX1lfJt3qDre49ycEowe2lCt1IOwgrQVp T61VGMAITdcW5Vm6zoc3bYiHnIQKTnmop/Z0s+LQ2hj4AUPnFQHsJtTTKiTTTQ3S5J0k 9JM8JrAoWUlaUo42oO6WZWmAZr08VDoRZYVyJud7lEz4UmfIKx/ixInalPKU8Zvy0Sl9 jDUTckrHj7Hy3eGy3UIySiHYkRD1MJeb+e/DlskQAFQqGKukKA4y9IDd4eh8qjeXKvVm 16Tw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id t25si1830447qth.4.2017.06.01.01.29.24; Thu, 01 Jun 2017 01:29:24 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 8049E60A2E; Thu, 1 Jun 2017 08:29:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 3A37160BF0; Thu, 1 Jun 2017 08:24:36 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 71B9260BE4; Thu, 1 Jun 2017 08:24:29 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by lists.linaro.org (Postfix) with ESMTPS id 4EAF060BF5 for ; Thu, 1 Jun 2017 08:23:30 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id a136so7455680lfa.0 for ; Thu, 01 Jun 2017 01:23:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=x6njpu0m23EKhgdO1OU81zglp/NKztNL1/DKu/8Bl5w=; b=IGJ7kTRE5G+2/esg/J3torFzGpkSut2klsOPSVqlC0GyseW/ix5kU4eIIxfI6XLafg cElB8i2jBbIaZ8GA7b+VMDm7PBAaDN/m/hHJM+1x7NJdaV9nSFvy/7Mqv6zJTCCeflX2 ys81l0fd0qPdurjZELm0aYe3oCSgJAxDURjJzAeCaaUGXzY68btNZgST9KeOcVSyJsS+ kAWprf70vjNOmwChYNiPBJXm96ga0cQhYulejlHJMA48v0fzrYcICPqHYrOPJprXjWZ1 KMW7uVJobCcLEnAkYJbcb/ar0xMwzw2/UVZYF0JSuU47S3H8bFn8TtOxlLYM2e1XqCKg v7EA== X-Gm-Message-State: AODbwcDGcBQnVZJMBGHE/mYd1mKwHReadmARt8aQFRRgg7eFjanU4ztP bX90ZykIg4wN92jJNYl7Ijo1 X-Received: by 10.25.56.6 with SMTP id f6mr139966lfa.92.1496305409095; Thu, 01 Jun 2017 01:23:29 -0700 (PDT) Received: from forlindon.lumag.auriga.ru ([188.162.64.12]) by smtp.gmail.com with ESMTPSA id c78sm4185837lfh.25.2017.06.01.01.23.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jun 2017 01:23:28 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Thu, 1 Jun 2017 11:22:46 +0300 Message-Id: <20170601082320.4673-7-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170601082320.4673-1-dmitry.ereminsolenikov@linaro.org> References: <20170601082320.4673-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH API-NEXT v4 04/23] example: ipsec: set auth_digest_len X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Dmitry Eremin-Solenikov --- example/ipsec/odp_ipsec_cache.c | 1 + 1 file changed, 1 insertion(+) -- 2.11.0 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;