Message ID | 20170601090339.9313-5-dmitry.ereminsolenikov@linaro.org |
---|---|
State | Accepted |
Commit | ab3003c87e4cc25e3b26c7bddbfbce61525a94ad |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp707147qge; Thu, 1 Jun 2017 02:07:40 -0700 (PDT) X-Received: by 10.55.175.67 with SMTP id y64mr462693qke.130.1496308060591; Thu, 01 Jun 2017 02:07:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496308060; cv=none; d=google.com; s=arc-20160816; b=TlgmTrLb6nk7DsJF6wPVa5JLj3jVBnID2txEnMBWvGxgaIQd3fwMmdUYmNTYs5I0Tc cHI56IZq300g+iTIvvP972Pi7RC3e4/DMpFjVa2SODc43T73ILcWxrm2Tzsxx0JHlPtU 4U0LhL4wnb2G+agPBKlE1+WDO5kUn7J9FvqVK6EIuAuD8tmcl7Q4y0flFbhvDAXxj22w lICU8zXgucSWuIxOSKyOiRIBusyud0oXWvI8B3sdU9oYIyXM5SY9/2lJ2C44Kqnqt8FX 0oIv9UARxJbZyXuDt1/V8fIVlad/bbKzIXFaenK9smNUKdtLoceDExTGy7y3KN3YOOed yLvw== 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=tTnNy8d9DfX9E6Fy3Z/zZhZaXf3a0W1SsKNgTnovb5V5IRKbRAGr/9XiYU2tbv7VKG 1ZqanLbAOS56Nj30VWYMcRSbi1BzSc2s/wzqaDwNWdOTUBPFfpUvk0h5XVkNq9b26tZ/ 3zes/tfqfj3++0LQt6wS+28Kte7zsuby6cqmIG8I3fw3PgT6gHXGPWDepmDQJJzVWwzu 4OSYU5jUouv2eIzfGYT4erMT39N9WqUnJplhEELt//TlgTEPdgeTc2ZPafPos5mKifIo F9I1uu+zLnOo7D2RjX84ETWkGpSk4oYx4CSvNUwUXTGlOK9ZubOl/ZOspPiyvXXr3CIv G3vw== 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: <lng-odp-bounces@lists.linaro.org> Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f7si18918492qti.181.2017.06.01.02.07.40; Thu, 01 Jun 2017 02:07:40 -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 2EA3E60E91; Thu, 1 Jun 2017 09:07:40 +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 D920460BE4; Thu, 1 Jun 2017 09:04:22 +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 D7E1C608C3; Thu, 1 Jun 2017 09:04:18 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by lists.linaro.org (Postfix) with ESMTPS id 8D1B5608C3 for <lng-odp@lists.linaro.org>; Thu, 1 Jun 2017 09:03:47 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id 99so22617154lfu.1 for <lng-odp@lists.linaro.org>; Thu, 01 Jun 2017 02:03:47 -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=AU0NwaagTV/NIHgWS3UMxRHnsfaXXVuWYQRk696P1jR5WM6MLXPK0/L9kAhv9x7ut6 P4xvo7i8/o7up2VwzapC4gAPKo+5X8NFuUpCmZ/5gGVr2R2XtIAHOd3aC0H2pDks4TXS 8q+H+Onz67aDX7w2t7hxtqYbjbXnuNz7dKR98Fg1jagDPWxEF6ZORW5ZAHEB1ML+P25k i4WpKU+njudktVdRMIhRL4nXs/Voy6Y6XEHJydQA/zANeM19BDVb3sNNycMGDHD2xhf2 6CNB7DYUVIJMEs+NEyCRHu12AgWyrgE4PXFtGLG6rK13fA+t0GDK0ntuZleBwWj49Tx8 0peA== X-Gm-Message-State: AODbwcAeDhCu8d/mu7GBfLk/vvTV6ufCe9jV75mhqa4YetJ9jAphNf0t 74IFb0VBkPwqidwwriQyG+6N X-Received: by 10.25.44.208 with SMTP id s199mr168589lfs.180.1496307826262; Thu, 01 Jun 2017 02:03:46 -0700 (PDT) Received: from forlindon.lumag.auriga.ru ([188.162.64.12]) by smtp.gmail.com with ESMTPSA id 129sm4232819ljf.36.2017.06.01.02.03.45 for <lng-odp@lists.linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jun 2017 02:03:45 -0700 (PDT) From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> To: lng-odp@lists.linaro.org Date: Thu, 1 Jun 2017 12:03:20 +0300 Message-Id: <20170601090339.9313-5-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170601090339.9313-1-dmitry.ereminsolenikov@linaro.org> References: <20170601090339.9313-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH API-NEXT v5 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" <lng-odp.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/lng-odp/> List-Post: <mailto:lng-odp@lists.linaro.org> List-Help: <mailto:lng-odp-request@lists.linaro.org?subject=help> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> |
Series |
Major cryptography code rework
|
expand
|
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;
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> --- example/ipsec/odp_ipsec_cache.c | 1 + 1 file changed, 1 insertion(+) -- 2.11.0