From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 64AC0A04F0 for ; Thu, 19 Dec 2019 15:40:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5A6B51BFD5; Thu, 19 Dec 2019 15:40:37 +0100 (CET) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 323E91BFD5 for ; Thu, 19 Dec 2019 15:40:36 +0100 (CET) Received: by mail-wr1-f65.google.com with SMTP id b6so6264853wrq.0 for ; Thu, 19 Dec 2019 06:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Z0l3I8oRyExhEDTcEUAvNQLV8kcV62hjXVz1tQNG1qA=; b=OueI6288bJyEGj+ObV7Frz8/v/yv7RIEqTvw4t9xYSWkqFGFBqCO1ttdFMi1MGrTTD JZFocFyB7PLf7KWmpUvIobO6+9i/9/jWJKuxSl4JAX0bhZhhmzcaDzUS6IPAx0A0BrXp VOleW0Sp1kLcL+gco4xtX1u1VnMl75+q3MFv0vAbeM8XggnpsEpI6TB5Evl41ecucz/Q RBwup38YN26ZbDs9u04qBtcQrx3yr6BPh9CnJk0iyvfFXJ9P4gFZ8C5221f+v4kl9bG9 2IRRR/DSI4vPxwPBviOSHc3H4ohW749ksHKOVlwGOP+LFsyS+j8J1M0XM3FjUY+Hycsa NpBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Z0l3I8oRyExhEDTcEUAvNQLV8kcV62hjXVz1tQNG1qA=; b=hPiwE1lKbY5qtUMmPuZOJQovO5QZ+hoki6mLMJALhppB5AePfy5Ya6pC8C4agVWTX8 sXVkyZAws998AmAZ3skWIBDhdbD1ulO/zSUHBsMvaKEAoY1YayLqQDJjFOo6F3P3nmgV i6QqmkuPrs1MA+GoFMVJ9WpMOIeMFPMulOwvBKVBhQLgDLV7VEZaW2QkzNlukOJ957Bx R7CBK2oxWl1kc4SqEPp5abkQ6eS94PdRmuWGBYpdfRu6YF8UBPak9un/S39QvWpLeuCX Z16ejpcZLuFBGHmjJDvWwtaacejHiXRwZo/VxhOladOYK8wlf6bEtn4Ij1TVj98BUreU nTgw== X-Gm-Message-State: APjAAAWG3MJ9r9NwY2fdiO7YLxFce5Q6pH+hL/tllgtz5Byz5yZ7ZODd coQAOpLRtFrt0RFI9oqwmS8= X-Google-Smtp-Source: APXvYqxCnJVvfi4h8OyP8ZZlnc6pkDGJS6tpZ3UKxoD55+uE09Zb03RdMLJThZWBMsE2f3eK4lObUQ== X-Received: by 2002:adf:f5cb:: with SMTP id k11mr9465621wrp.71.1576766435832; Thu, 19 Dec 2019 06:40:35 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id z11sm6333591wrt.82.2019.12.19.06.40.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 06:40:35 -0800 (PST) From: luca.boccassi@gmail.com To: Vakul Garg Cc: Akhil Goyal , dpdk stable Date: Thu, 19 Dec 2019 14:34:12 +0000 Message-Id: <20191219143447.21506-105-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191219143447.21506-1-luca.boccassi@gmail.com> References: <20191219143447.21506-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'examples/ipsec-secgw: fix SHA256-HMAC digest length' has been queued to LTS release 17.11.10 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 17.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/21/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From 9a2ae0c6c12d375d0da89af38c62224ae895eb7b Mon Sep 17 00:00:00 2001 From: Vakul Garg Date: Wed, 6 Nov 2019 15:23:22 +0530 Subject: [PATCH] examples/ipsec-secgw: fix SHA256-HMAC digest length [ upstream commit 2fcf3f70d19af191eef79fbc9f2d978b2ffb1588 ] As per RFC4868, SHA-256 should use 128 bits of ICV. Fixes: b5350285ce6e ("examples/ipsec-secgw: support SHA256 HMAC") Signed-off-by: Vakul Garg Acked-by: Akhil Goyal --- examples/ipsec-secgw/sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c index 67127d0401..f01a53116a 100644 --- a/examples/ipsec-secgw/sa.c +++ b/examples/ipsec-secgw/sa.c @@ -123,7 +123,7 @@ const struct supported_auth_algo auth_algos[] = { { .keyword = "sha256-hmac", .algo = RTE_CRYPTO_AUTH_SHA256_HMAC, - .digest_len = 12, + .digest_len = 16, .key_len = 32 } }; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-12-19 14:32:30.500958231 +0000 +++ 0105-examples-ipsec-secgw-fix-SHA256-HMAC-digest-length.patch 2019-12-19 14:32:26.241300522 +0000 @@ -1,11 +1,12 @@ -From 2fcf3f70d19af191eef79fbc9f2d978b2ffb1588 Mon Sep 17 00:00:00 2001 +From 9a2ae0c6c12d375d0da89af38c62224ae895eb7b Mon Sep 17 00:00:00 2001 From: Vakul Garg Date: Wed, 6 Nov 2019 15:23:22 +0530 Subject: [PATCH] examples/ipsec-secgw: fix SHA256-HMAC digest length +[ upstream commit 2fcf3f70d19af191eef79fbc9f2d978b2ffb1588 ] + As per RFC4868, SHA-256 should use 128 bits of ICV. Fixes: b5350285ce6e ("examples/ipsec-secgw: support SHA256 HMAC") -Cc: stable@dpdk.org Signed-off-by: Vakul Garg Acked-by: Akhil Goyal @@ -14,10 +15,10 @@ 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c -index a8dee342eb..f56e16bfc7 100644 +index 67127d0401..f01a53116a 100644 --- a/examples/ipsec-secgw/sa.c +++ b/examples/ipsec-secgw/sa.c -@@ -115,7 +115,7 @@ const struct supported_auth_algo auth_algos[] = { +@@ -123,7 +123,7 @@ const struct supported_auth_algo auth_algos[] = { { .keyword = "sha256-hmac", .algo = RTE_CRYPTO_AUTH_SHA256_HMAC,