From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 378DAA0C55; Mon, 6 Sep 2021 21:56:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BD891410F0; Mon, 6 Sep 2021 21:56:42 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id E0CE0410EF; Mon, 6 Sep 2021 21:56:40 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 186JS0RM009862; Mon, 6 Sep 2021 12:56:40 -0700 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2041.outbound.protection.outlook.com [104.47.66.41]) by mx0b-0016f401.pphosted.com with ESMTP id 3aw2sp3prj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Sep 2021 12:56:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=noILJ3BbhaciGsnlxr0lu/4tctPGRqXH30u7CgaTbXQ3r3grs+bbPpRWpBsm3EJ1Yk/xKV3iBJMBL3TanuJmfITGc9GuS54WG13iVfSkmoAgJHwO9iy0KgwV/PI0DxZc+cVgHmCqiXF0r29L+EY2hqtL6Q44TXL/0Y3YdEJD5smT2DlhxfhSSiE5KrvcNCB2QHqFJUVpUHEqDUOY/CtwmrNzkpRSx4eCFwxtmhmPStc8Ty8EteIsgiQXfRwTs55B0CaX/iuG1zNMaiqut4Svenf1U1TImviNKnHOvYCQN+rNf4VxVDLOcac5wT2ZucchLuzUyK5WZa8yqE4TtrZAjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=mc9lGapg+vVriASdBJ1Rwjq+RV26XVxJe35W/lCNGS8=; b=J3GV4LhWZhcITQaTVyU52eG8Jc9xGmEXSThYg3VGZ5XrKgRP2wEDXNM6qdXhx4cj1z8mZM+A0K10V7DUU3KEns3jhAfns2JsGL0Fy+qzSuoBxW54GcEEHTw9l2VS/087jpX3A/72oT/vs/5X1G+90lEYIR7HBIuHxfItO/9U85F35Zc3AHMB2lwbXpu7c3j9V1tIkZ8u6i2wdFO0b7s2HHaSWh31mjpj1vEgG9TijZAXv+mJpJ7DX+c1Z7yoTzHiCX8kS66fSmG/POUYUuzbNwyGgvJHb0kz1Z0ty9Smz8mmoYfPpZYAUU9iwyIkdr2RQnRNY5Xp666ETlJLwtuXeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mc9lGapg+vVriASdBJ1Rwjq+RV26XVxJe35W/lCNGS8=; b=VUxZ4Uy5QIO/HlvKjy4Px3BfvD5lBl97x/+TjfWvUBF8sZIQbdSrLTzdLa/ZeiH6wzZ0DYCoPgHlJepwAHjuxTj/lgIKAg/s+Rb+r+3iKMqgHewx5d6RRvuXdi8iDMyVgzb1uwJWTxnNnxr56R52Ci6xRFgXGZogpWvYdM6P1dE= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4729.namprd18.prod.outlook.com (2603:10b6:303:e8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.17; Mon, 6 Sep 2021 19:56:37 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::411f:5b87:321e:de29]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::411f:5b87:321e:de29%3]) with mapi id 15.20.4478.025; Mon, 6 Sep 2021 19:56:37 +0000 From: Akhil Goyal To: "Zhang, Roy Fan" , "Power, Ciara" , "dev@dpdk.org" CC: "stable@dpdk.org" , "De Lara Guarch, Pablo" , "Doherty, Declan" Thread-Topic: [PATCH] crypto/openssl: fix CCM processing 0 length source Thread-Index: AQHXmM3lMNdBbS+fgkmoZVqwR367vKuXgNGQ Date: Mon, 6 Sep 2021 19:56:37 +0000 Message-ID: References: <20210823124714.255341-1-ciara.power@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=marvell.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 42f6570a-7f14-4dd0-64ee-08d971706fba x-ms-traffictypediagnostic: CO1PR18MB4729: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZOF2+g9fuJu0YcWrm5WZ3MHs9AfvJrn/BOANrGKPvSuRTshzfxMORW2S0cxEkX4uoPwc1krwEDB6/JKsgHZIWFAeF0cCJr9lhAC1xBPLCeXW7j+mjcHpNaV2o1GgBBxbRTnzrNjDybNbzdT/wyYiY3CtsH0EZ7lyxk6TNkXID/zts3t313zW/5523EaBifu1I/826yLTWdcm5NxP1+95JH9zkNxvtwJpG9QU2MXXE7peJGO2ia7TkqtxF5DFzlLN7c3I1o/YYAytNx/Y4npHaO+1CgI4VMAuu0sUR210ow0QtkuR1fuOEswrv+3SXh1dlwvkX3WYhx7QyijFf4hevO/klG4yFTx65qJqVAWz6My5o1SGudSDUWJZM9z4nh00S2l0XWRjqOo0VWI4xhseFWtMY/QEg91k5a/idtZ7jNM8w0pFU4eJBFm0jGVKUTAdnbpX6kZufGZuWK8eEo7SBEP4lLG/ft6SvRWhZJhY9WyqXjewo7DJ27XBHJAqJlnTndRb+xxHGWUDeL1vWIkJhq9kIqZdD6rl9TlY9axlw9gI1jRLQRjxm7v8f7x9S6uSVytSqPQtk1yCaXjkwZGbaFvZWQiW+qTLHrIml9tW8s7TXh+1/1tyYPxQwOoFzWAtZEYUptp1sVcLHNshexWRLXLk1VeNN92lVJIabgzOkwPDD3P7+/+z04sA0hcafY2tjac47r6p5ocGnktn7HZ6hw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(396003)(346002)(39860400002)(366004)(136003)(86362001)(4326008)(55016002)(7696005)(110136005)(83380400001)(9686003)(38100700002)(66446008)(52536014)(4744005)(186003)(38070700005)(76116006)(64756008)(66556008)(66476007)(66946007)(8936002)(5660300002)(122000001)(6506007)(71200400001)(8676002)(54906003)(55236004)(33656002)(316002)(26005)(2906002)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?8CGLRdBMw3EyZnpaQlYnGO5oZPCu6KYMFmdlSfuPze462Y0k0CM+LtpqQq3r?= =?us-ascii?Q?G4xrhvmbsPzW5krh8pamsEEjy68r3PV6NtGHrWLJ//ddVrUILTa4JSvGhf6o?= =?us-ascii?Q?3NA1UNk7AGOb/+wGwhXvh9ysjnRsNUlLaxbFd6dLYSyHcyd75v60EJg7nAat?= =?us-ascii?Q?QH0/vkuthM7bn8LwNNobCvp50sOGcFonU7rE+m491pYzLszB6yl423dlGphg?= =?us-ascii?Q?NxxP1jcgNF8aest212nNvoqJ0h8NdPyC35DpROTgCIkM40r/WYYxEDdNou94?= =?us-ascii?Q?4/C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16u?= =?us-ascii?Q?X/zsD/mcQQ9EPItc4RiWUq3WTg7NslR3VYn4xCxlkt+He4ObZ8mgZaEmpOPv?= =?us-ascii?Q?D6JHm/Bza6sp74ahf/DEtVxYEUuXt73vtZFKQWIJipAeiuzXk9T5NyjSjKTR?= =?us-ascii?Q?kypX0kAz/Z6ReAM4tPe3z0zu?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 42f6570a-7f14-4dd0-64ee-08d971706fba X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2021 19:56:37.2526 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jg3MIydcl/sqFb53cxovq1QhnWAkLr2Z9TrvayYhBsTGJjCKUEFEpc9YfJtkCzOmWjqVAHgD8GvHaNm8KYh2hw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4729 X-Proofpoint-GUID: zZkBX71ig8mMjxFlaZNmpaZv4L2CG9LM X-Proofpoint-ORIG-GUID: zZkBX71ig8mMjxFlaZNmpaZv4L2CG9LM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-06_08,2021-09-03_01,2020-04-07_01 Subject: Re: [dpdk-dev] [PATCH] crypto/openssl: fix CCM processing 0 length source X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > > > When given a source length 0 for CCM, the encryption and decryption > > functions did not call the EVP_ENCRYPTUPDATE/EVP_DECRYPTUPDATE > > functions > > with a src and dst, causing some FIPS validation failures for testcases > > with PLen=3D0: > > > > process_openssl_auth_encryption_ccm() line 1131: > > Process openssl auth encryption ccm failed > > > > Fixes: 1a4998dc4d94 ("crypto/openssl: support AES-CCM") > > Cc: pablo.de.lara.guarch@intel.com > > Cc: stable@dpdk.org > > > > Signed-off-by: Ciara Power =20 > Acked-by: Fan Zhang Applied to dpdk-next-crypto Thanks.