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 A1B44A054C for ; Fri, 14 Feb 2020 18:06:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9994A1DB9; Fri, 14 Feb 2020 18:06:20 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id BCA90F72 for ; Fri, 14 Feb 2020 18:06:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581699978; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dWDTYbC1aTVnQhaKiwveOpW+k+Y223IqxxXt5Vhn3pc=; b=EB62E1kgtEW150U5sSXhFXc9MVBBMDWUY3xQyr8HLIbp1wXNd5LQ3yXE2I3u9IPczOEyit NHbKkNBG9yhBJW4cja+KzYUlSAmKUPq2I20Ae+787iqTMrAWdP3pAoS2kn11cbBLFglhir jYW9nwWxzJlgZ1UOo7m/81+lON+8tg4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-423-uT-W9FxFNqebMg1c6cYb6A-1; Fri, 14 Feb 2020 12:06:13 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DD2E0801E70; Fri, 14 Feb 2020 17:06:11 +0000 (UTC) Received: from rh.redhat.com (unknown [10.33.36.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id ABAF484BCD; Fri, 14 Feb 2020 17:06:09 +0000 (UTC) From: Kevin Traynor To: Sucharitha Sarananaga Cc: Archana Muniganti , Anoob Joseph , dpdk stable Date: Fri, 14 Feb 2020 17:03:31 +0000 Message-Id: <20200214170337.25093-37-ktraynor@redhat.com> In-Reply-To: <20200214170337.25093-1-ktraynor@redhat.com> References: <20200214170337.25093-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: uT-W9FxFNqebMg1c6cYb6A-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'examples/fips_validation: fix cipher length for AES-GCM' has been queued to LTS release 18.11.7 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 18.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/20/20. 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 rebasi= ng (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/f60724548145322e12= b86169750d2c0418c7c61d Thanks. Kevin. --- >From f60724548145322e12b86169750d2c0418c7c61d Mon Sep 17 00:00:00 2001 From: Sucharitha Sarananaga Date: Mon, 6 Jan 2020 15:03:11 +0530 Subject: [PATCH] examples/fips_validation: fix cipher length for AES-GCM [ upstream commit 07f5e4553293cff259b7c44f1aa7bad7734eaca2 ] Cipher length need to be updated in case of AES-GCM decryption. Fixes: 4aaad2995e13 ("examples/fips_validation: support GCM parsing") Signed-off-by: Archana Muniganti Signed-off-by: Sucharitha Sarananaga Acked-by: Anoob Joseph --- examples/fips_validation/fips_validation_gcm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/fips_validation/fips_validation_gcm.c b/examples/fips= _validation/fips_validation_gcm.c index 0509b101a7..b121802e20 100644 --- a/examples/fips_validation/fips_validation_gcm.c +++ b/examples/fips_validation/fips_validation_gcm.c @@ -20,4 +20,5 @@ #define AADLEN_STR=09"AADlen =3D " #define TAGLEN_STR=09"Taglen =3D " +#define CTLEN_STR=09"PTlen =3D " =20 #define COUNT_STR=09"Count =3D " @@ -47,4 +48,5 @@ struct fips_test_callback gcm_interim_vectors[] =3D { =09=09{IVLEN_STR, parser_read_uint32_bit_val, &vec.iv}, =09=09{PTLEN_STR, parser_read_uint32_bit_val, &vec.pt}, +=09=09{CTLEN_STR, parser_read_uint32_bit_val, &vec.ct}, =09=09{AADLEN_STR, parser_read_uint32_bit_val, &vec.cipher_auth.aad}, =09=09{TAGLEN_STR, parser_read_uint32_bit_val, --=20 2.21.1 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092020-02-14 17:02:39.118169995 +0000 +++ 0037-examples-fips_validation-fix-cipher-length-for-AES-G.patch=092020-= 02-14 17:02:37.050405873 +0000 @@ -1 +1 @@ -From 07f5e4553293cff259b7c44f1aa7bad7734eaca2 Mon Sep 17 00:00:00 2001 +From f60724548145322e12b86169750d2c0418c7c61d Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 07f5e4553293cff259b7c44f1aa7bad7734eaca2 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index ea48ddf707..f295025590 100644 +index 0509b101a7..b121802e20 100644 @@ -32 +33 @@ - =09=09{AADLEN_STR, parser_read_uint32_bit_val, &vec.aead.aad}, + =09=09{AADLEN_STR, parser_read_uint32_bit_val, &vec.cipher_auth.aad},