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 9EB1042B2C; Wed, 17 May 2023 17:41:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F835410E4; Wed, 17 May 2023 17:41:40 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 1CCA540041 for ; Wed, 17 May 2023 17:41:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684338099; x=1715874099; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Gir+pPtJko2wtKW1AkKd5qtWN3kSk5WO1mbhZM8ON1A=; b=W1SqqgnED6A2pMXCaDeomLxXnrNcMa7vvMODKf4AemJDKBzv1jyV0RLs uxpVIrhTXQdBYPvNAXFQy0NJ2q0o7ItyL+CoM2oelB1VsBgORMW+3jozn bXVDf+Vux1TLVue0O0GjoTj1UR492OCw/3T9WmIWYyvWrDCp5/tMkQP67 oaT0EfiWrXxM1sJqWAiH8h/r9+NqaUQzmp7MFl40J4MC8aORKggZE+Bm2 lOkKK7vpn/2+HTMZcRaNz4pls32tW0Ztki6MZsgHZ506EtooXVxzAQNyX 9eVtfPXXzCbDHDgWg8pYSsgLZrRNdu3fnfOYr+CiSyFjihqVIKSg0roOs g==; X-IronPort-AV: E=McAfee;i="6600,9927,10713"; a="331409217" X-IronPort-AV: E=Sophos;i="5.99,282,1677571200"; d="scan'208";a="331409217" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2023 08:41:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10713"; a="876094239" X-IronPort-AV: E=Sophos;i="5.99,282,1677571200"; d="scan'208";a="876094239" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga005.jf.intel.com with ESMTP; 17 May 2023 08:41:17 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Wed, 17 May 2023 08:41:15 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Wed, 17 May 2023 08:41:15 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Wed, 17 May 2023 08:41:15 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.48) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Wed, 17 May 2023 08:41:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LH7Vyi6sIKUWkol0kS0PnxWZlfXOops/MsCBL2twLNJek2iY8TQsv5dKQZfgjK8BhNj5/ijMOeSfTrPpAM5vSV9zrgdlyI6zTRdtERNmeQ0fbEOlzzzJ07uUvCM9FCytoPg/nGw17l3MjxR5ldf57oOuppa2oIBruVgXOExxwWnTg6Yt7LBQ/sNwImb+JC+uqIFWnjPL5Tv7q20HC6ByVCRtHI0RJKSOFT+iUUqnPPPpPiEpxyHXjUq/I1qZ0Eq7W0WHifH+rdqmXTBDHXfduExFoxW6jK1jQuUePWxPnyy5k3PcWClhVaW0pDEbkA9UxNq+hBJjGxkIHZomFt0g2A== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bn3L6P09ijlXyiGwSG7VAyuu8gTgchJyJI6TWlrHGm0=; b=BhlBao3xSmCouKxaJpItVeyUSyoYItJX6EyRzlqec3tfxdp1DuVgHeikWtHsSrKOwV5R+FYzD7CJ852w3RvDfZMtL3x5v4YTTOZtWazQt45oxuPQtzfjFZhr3Lxv+OU4kJRYzOFwQIezhTeR5g5kUA1nD93ZB2ruIOElk3qzuykZRN5DdVuqcWAqICfI3cyP0WGJtWyN08i7XoZbVwiJSMX62635KYqhxo16GKqfX0IjF2vg9MzYy1Nqewo643yFhp6D00JWpLVFadI4sR8cHZ6viOVU+5Da6JhkuaH4VXT1e+9vN05Kotv0hb2y7zIhw6VFBReciFJtIFu2jKayJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN7PR11MB7639.namprd11.prod.outlook.com (2603:10b6:806:32a::14) by IA0PR11MB7329.namprd11.prod.outlook.com (2603:10b6:208:437::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.17; Wed, 17 May 2023 15:41:13 +0000 Received: from SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::43d0:7481:a8c4:76a0]) by SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::43d0:7481:a8c4:76a0%4]) with mapi id 15.20.6387.032; Wed, 17 May 2023 15:41:12 +0000 From: "Power, Ciara" To: Anoob Joseph , Akhil Goyal , "Fan Zhang" CC: Hemant Agrawal , Jerin Jacob , Tejasree Kondoj , "dev@dpdk.org" Subject: RE: [PATCH 1/2] test/crypto: use separate keys for auth and cipher Thread-Topic: [PATCH 1/2] test/crypto: use separate keys for auth and cipher Thread-Index: AQHZhJOOQwmaxLulE0m643RiJ+P5zq9eorIA Date: Wed, 17 May 2023 15:41:12 +0000 Message-ID: References: <20230512053353.68-1-anoobj@marvell.com> In-Reply-To: <20230512053353.68-1-anoobj@marvell.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7639:EE_|IA0PR11MB7329:EE_ x-ms-office365-filtering-correlation-id: 89137b6c-bfa5-470e-b45d-08db56ed248a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: H7oqkhlNG2NVmTTJQ+dT28t5Qo0iRDTfBZm08SdFkNB1ql1hWgOsk980U6GLajsCQ33BDs/YGvgvWpbWS8l79r+PrOAz56mxx/4lCW0P7NU/H5TfRhOAQ2EuBQJ0e/r8FlzOCmM4S2tfewwmuBfOwq//4vTriJ107/ZvW1YPdFA6RzZHBwlFE6BfWEfGPtwf/x+cyLo578a708E+Iy4OYBzQwNJBoMBA//OypLmaSNX2EqB8on4RULI9NDQQisyP1cN/qA1RdRkUXn3Be6/89ogTFjQ+Lmvd+67Ba/ubmUJzV/EB4jguYMT8eweZA+6iBQbTQ89WlFz7CrqQ1rwsJwcMiHJ72UWlFEeLO6WipdxCDtOPNWZsU6urgmZib2e9GfjuVoWIfYLt8ZwxM/ZSNi2qw62/LPMeAXOatW7eCRNUxzeOuGA3nJOYzjRLbsyD0Lp1o4GeLGyi1BRCq0k6/LoqQ1cBp7Rw01rJqmVuhPCn1TQ+IwJJPqI1frWdgHFWjj1RXmNjvUEnABNm0M0bjMqgjceRlr9scAC7kvmuNUXxb54bcGCUW6U095n0aqI82REhD7me5SmwpZtR3f5IyUYgtMFLOsKchJRW34Uj8jOSzasm0eC9k23mTIvRKGE/ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7639.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(39860400002)(136003)(376002)(396003)(366004)(346002)(451199021)(83380400001)(122000001)(82960400001)(33656002)(41300700001)(8676002)(5660300002)(8936002)(52536014)(55016003)(86362001)(316002)(38070700005)(4744005)(66476007)(38100700002)(66556008)(4326008)(66946007)(66446008)(64756008)(76116006)(2906002)(9686003)(6506007)(26005)(186003)(53546011)(478600001)(7696005)(110136005)(54906003)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ZIy7IW7r1vYugA+feai40oLLylEOYeJxn0U5R2F6k4JJouO4O9dGhnFlsdpf?= =?us-ascii?Q?qhS6VF3akrwjsm/UM8d+pcmJUrhKWBcxnZdXqayCOinmOGUCzB1aH6ALB1x2?= =?us-ascii?Q?nwNjGnOjd07DlEy0BLK1vyeRevV9ElSIXckrqOEeEl7fqeSyq9qd7xpoKTgS?= =?us-ascii?Q?Q0BM1SoDK8rVPTFKnp5vK05aJDwlv6g4Q28zuMg+6UIchARi6v6NS1bKgcSz?= =?us-ascii?Q?T2eNuyuidVjvO8N5xAPp3J+ZTem28Bu77INrRnAB7akfFvT4hbNXBddtVApi?= =?us-ascii?Q?cGGPGMSaqXfeMilN7H36igRLPANecUyZcw8ueLH9Rppxw7iEHyqKquDp+RnX?= =?us-ascii?Q?VP44kIJ4SQ+vWrZ/WXp0BD37zJKsYxK6Gm612R9+oJAK/12SszFiBu4zusjr?= =?us-ascii?Q?Fw7GIPwAdFxqkMvvHc3Tbu3WN6MQ7y2gQ1jGysahn5tWkBXAUY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fvfW7pOxSGIk7sbMApljNpkQz?= =?us-ascii?Q?qf7+VGJ9yNE7eXol8bX8yQzoZQNwiaAhky1AdRSwqG5KD9OJ+RtLvNCyw/FP?= =?us-ascii?Q?iMZMfRSrI1U6X+/P8dUPhWx0lLctNqLYu2CBVXLj6RafhxL0AtcZ7j1sowAN?= =?us-ascii?Q?/EgQhpSC5vGAptVZuqjkZsZUwdG0ue3VYQBkp8M5WHYTLQa8n7wzN0mN3Tl0?= =?us-ascii?Q?qIfcGeNM6RaprHO8PaHTZkn2g5rYiXv3A5TrZ9Lq?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB7639.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89137b6c-bfa5-470e-b45d-08db56ed248a X-MS-Exchange-CrossTenant-originalarrivaltime: 17 May 2023 15:41:12.2986 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: sRzqNRhNkQcbME0ccR5f38U1vcDhnpvyC8zxgOxZXJKAnjncPXWVESf4LdWHaQyTZQoqiBupAv5bbteHoQvrFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR11MB7329 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Anoob Joseph > Sent: Friday 12 May 2023 06:34 > To: Akhil Goyal ; Fan Zhang > ; Power, Ciara > Cc: Hemant Agrawal ; Jerin Jacob > ; Tejasree Kondoj ; > dev@dpdk.org > Subject: [PATCH 1/2] test/crypto: use separate keys for auth and cipher >=20 > The mixed test cases can have keys with different key lengths. The routin= e > which prepares the session parameters uses same key length for both ciphe= r > & auth keys. Instead allow the caller to use same keys as required. >=20 > Signed-off-by: Anoob Joseph > --- > app/test/test_cryptodev.c | 48 +++++++++++++++++++++++---------------- > 1 file changed, 28 insertions(+), 20 deletions(-) Acked-by: Ciara Power