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 B3B7542D2F; Fri, 23 Jun 2023 12:29:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18CEF42D17; Fri, 23 Jun 2023 12:29:46 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id EF9F040E09; Fri, 23 Jun 2023 12:29:44 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35N7fKA2021072; Fri, 23 Jun 2023 03:29:44 -0700 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3rcuqva4b4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Jun 2023 03:29:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YlBCUKk6jCWgZ2/sQ5ByodEdEjZUrbXFYVXPHPIQqhjHpXoUcqs0MqZQkMMT9ervgSxnwEnlRnZMRe55i0DTl/ppTZ+qMywHPYhL8y1FalU/DZfjpQVMlJEWAXvVqrIo/BvcuMNQrPqPwdblXfQRV+ffwTJj14lVFij5T9AyrbSQR/Z99KMugyQ9va3e4f44gCxiqHxeF/Ki+jQXXOeXPp4OS+MxZdY5V6xh7ptrIuhAm5wz5yW3vaC+5Qksam58u6FOXs3fcZJAevU1RNmn6Qi7AVeklYVq+poL+e7kfYkyxwD/4Ie8JGTTVQcIKKbdRUp8cAW6Ke6QM3MuGT3vGQ== 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=ZOyulHJf+ClKV56v1RDf6q0UzzOzCc3otQMOWqArcvk=; b=PzT4/2z7+7RKJdTA3W7MOsbWYGnRdzQKfroEKlBWhk/ZoJSNhlQNDrMhN1/G16XaohCdrJeNicjtSh71jtdJh330eOe3zJUfvUZZsyVylvCJFofypg9xMOyv+xZImSZ3P9MIxUPhA8oAljXAN+nWVAmnJLDhIgE3fNPXULr2uirVu7TUswZ1Z+ZaIRoFabb8AVBWn7PDlo9WCskDnwGlWaoJa3oG8B2xdrlTm6sdJ1YolYd3oFz3i95cvmKUQt/qS0vsxYVqQz6wVAvY8Pg22I5VhKmKl+BYlbIxFk0MBmCOItPuP0sdcmtX/jq5zd9Jr4sDJv6IxYSjra2BaIKxlg== 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=ZOyulHJf+ClKV56v1RDf6q0UzzOzCc3otQMOWqArcvk=; b=plNKmuJ7J/fhTo/yAo+tbhlOu1Hp8mkqiRizzNi2WGCyS6y0vGUIIet87qQJJD2U40P9ORewWOuIjHeMAVz/8+N4l/0PKAqf4G+t1nGMs1J5UWxR6Uj3fK/A8Ji1vTbUfGGi11CAN/8y24Z12xz10kCez4kU0uBkEWiaI5It0iE= Received: from BY3PR18MB4705.namprd18.prod.outlook.com (2603:10b6:a03:3c8::12) by MN6PR18MB5493.namprd18.prod.outlook.com (2603:10b6:208:47d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Fri, 23 Jun 2023 10:29:41 +0000 Received: from BY3PR18MB4705.namprd18.prod.outlook.com ([fe80::1f81:e2f:7d1f:6e45]) by BY3PR18MB4705.namprd18.prod.outlook.com ([fe80::1f81:e2f:7d1f:6e45%2]) with mapi id 15.20.6521.026; Fri, 23 Jun 2023 10:29:41 +0000 From: Gowrishankar Muthukrishnan To: Kai Ji , "dev@dpdk.org" CC: Akhil Goyal , "stable@dpdk.org" , Arkadiusz Kusztal Subject: RE: [EXT] [dpdk-dev v2 1/3] app/test: add diffie-hellman test cases Thread-Topic: [EXT] [dpdk-dev v2 1/3] app/test: add diffie-hellman test cases Thread-Index: AQHZVqO5qie/KSwsHE60SWejfT2EJa+YxJMw Date: Fri, 23 Jun 2023 10:29:41 +0000 Message-ID: References: <20230314001202.38306-1-kai.ji@intel.com> <20230314183457.13918-1-kai.ji@intel.com> <20230314183457.13918-2-kai.ji@intel.com> In-Reply-To: <20230314183457.13918-2-kai.ji@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcZ211dGh1a3Jp?= =?us-ascii?Q?c2huXGFwcGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02?= =?us-ascii?Q?Yjg0YmEyOWUzNWJcbXNnc1xtc2ctZDlmZjZiOTUtMTFiMC0xMWVlLWEwYTMt?= =?us-ascii?Q?NTQ4ZDVhZTlkZGUxXGFtZS10ZXN0XGQ5ZmY2Yjk2LTExYjAtMTFlZS1hMGEz?= =?us-ascii?Q?LTU0OGQ1YWU5ZGRlMWJvZHkudHh0IiBzej0iNTk1NyIgdD0iMTMzMzE5ODk3?= =?us-ascii?Q?Nzc1OTQ3NjI1IiBoPSJuQW1tRlVrT2R6d1Nn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UFBQUFBQUFBQUFRQUFBQUFBQUFBQ0FB?= =?us-ascii?Q?QUFBQUNlQUFBQWJRQmhBSElBZGdCbEFHd0FiQUJmQUhRQVpRQnlBRzBBYVFC?= =?us-ascii?Q?dUFIVUFjd0FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFCQUFBQUFBQUFBQUlBQUFBQUFKNEFBQUJ0QUdF?= =?us-ascii?Q?QWNnQjJBR1VBYkFCc0FGOEFkd0J2QUhJQVpBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBRUFBQUFBQUFBQUFnQUFBQUFBIi8+PC9tZXRhPg=3D=3D?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY3PR18MB4705:EE_|MN6PR18MB5493:EE_ x-ms-office365-filtering-correlation-id: 4f11ed36-7f5f-48f6-e485-08db73d4c116 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 196RVn1tXFIZkpV70v4efMR+9GCkwIliBtxcRxediAV9pQlU7t3RaomjFR3a/vZFdYttfvAIejl8LECWjyBPMCDRdRdN7TzzxqvICnpI19EYOkAt9e0VhSY4339E2BMNNm403E+qgRWHJL7cos8opAW+KeqWb55w7kKDoCDcF9qOPg9GQbrkglj0UcKL+g5oYhPNN3FiiddUWaHSPtjmGMJc/KCfLcd6FQBO1td3pxhcmiLI/zyts8kOJefGaBOrmFZRXZNDyFcaA1D0GpwwSGqPUasMKtpNaGTdBUG38n9TgVzzeO/9yBjx/2mrOmOnm4z+u/DCB5FOIJmRmHbThwdXqg50QpKEidnwD+DtcQkS37kyH3OEEc3QMlhNh+qsmxzXNaIkAZxMIPbKyLFJb47ciIfnW2T74aBTChx5XNoQI3n4mcy/fLMWdzWuq8TZwz6vxhf3WsFepI3JoxBP/m5rz6CP4lXDvbE7N36MlTKcQJ6TZeew7SXBRS3AhBpI2F+Z3bzWB4ifKaI4aaJWmDKXZ/Q8d/F/sbI+sBHF5Jp/pLyG87o9qCK3/t4UdzTnW0JhH46mHuCG1EnWfT2lfIhXZCsoK7p/et31Pn7OlSFpBwbz3iJpTLrQb3FMGCbyL8Qnsl57LuTb8/VeH/RxBQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY3PR18MB4705.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(396003)(366004)(39860400002)(346002)(376002)(451199021)(38070700005)(122000001)(38100700002)(86362001)(55016003)(316002)(8676002)(66446008)(64756008)(66556008)(66476007)(8936002)(41300700001)(4326008)(66946007)(76116006)(33656002)(83380400001)(6506007)(7696005)(52536014)(71200400001)(478600001)(54906003)(110136005)(5660300002)(9686003)(186003)(2906002)(26005)(87944012); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?iQQjD1WfTVgN60zkZOqlHm5opsyztFscbqSTw9hqIjBw11CJO9Y9WoI9Z3AA?= =?us-ascii?Q?zHdAty93AlFJarBQ7KXcxuCxd8rU/PPTzNqyTZPgUyL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FcYnkPyNkV5mJ6cHupgrJlSW9wY1JPcAU0HeiYlWp1ctc5ojWAZMCev8?= =?us-ascii?Q?rXAKqYmhT0gRiei9/OlbIR1gQBpuz5ZFI4s2OTBPnBLozcXLOyDQb/fnP4Ow?= =?us-ascii?Q?glqgHpW8b50AxkwH68JColFFiajEaSCB2jslYYzQAzprK+g6ztlISFJffLV6?= =?us-ascii?Q?Re+9vr2g1mZvsUmC9xB8WBdHNvCZhbl8bZvxfT55kESmJe8a8gD8mykQbf0J?= =?us-ascii?Q?LfbmnULtuWj8gwH3tV/uLWfcVobeMnN59P6DgLrY1ZIU4aqW+E6rpGnYARwm?= =?us-ascii?Q?wSy/NKZoj9L7f8vNV4xPID/5sO4p6cLWYCzAnyCUqA6U1J3SrEL5+4jujs0E?= =?us-ascii?Q?+GHqDOELeYjUFduJabrmp7Ep8sWNg3SaDlp/QPI5rZuom6+Wix34wT5ElGEh?= =?us-ascii?Q?u+0hXSd7sgBFrmToSg4Du/9JPtBjBStznpgQnDgL53+9YteBX2PfhxqbvQGr?= =?us-ascii?Q?wpJvG6UTPNOJPn/t4ONWGd9eW3VLVYnDw/ANBMm5760FKAwKq0hfAHEzHoK+?= =?us-ascii?Q?JH1FaXu5YmREPLSdpiyJ/nYa3GDm5svsurAfRwH7FSocXKxjVuNM3ypaKqgk?= =?us-ascii?Q?vi88dgX9gYD41aSKqKRhpPljsbNokm19EghWzz7z?= 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: BY3PR18MB4705.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f11ed36-7f5f-48f6-e485-08db73d4c116 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2023 10:29:41.2335 (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: UFh7b7CV7+YgPVby+1OtAXoNBi7WMm9r9jZXWJ/wh8La81qqnnS+8L7ASAmBbEYrEXJAC3eNXAbT7vXdVGXmMqZZe2rEfLb3sG4Cz/XXp3o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN6PR18MB5493 X-Proofpoint-ORIG-GUID: uqnDbe05BnYjBbQzZYLy86Q6sYFwtwQL X-Proofpoint-GUID: uqnDbe05BnYjBbQzZYLy86Q6sYFwtwQL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-23_04,2023-06-22_02,2023-05-22_02 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 > diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asy= m.c > index 5b16dcab56..b9034b637a 100644 > --- a/app/test/test_cryptodev_asym.c > +++ b/app/test/test_cryptodev_asym.c > @@ -64,6 +64,39 @@ static uint32_t test_index; >=20 > static struct crypto_testsuite_params_asym testsuite_params =3D { NULL }= ; >=20 > +static void > +test_crypto_rand(int len, uint8_t *buffer) { Just a minor suggestion on params order here (below), for ease in readabili= ty. test_crypto_rand(uint8_t *buffer, int len) > + int i; > + > + for (i =3D 0; i < len; ++i) > + buffer[i] =3D (uint8_t)(rand() % ((uint8_t)-1)) | 1; } rand() % UINT8_MAX easier ? Also } in next line. > + > +static int > +process_crypto_request(uint8_t dev_id, struct rte_crypto_op **op, > + struct rte_crypto_op **result_op) > +{ > + /* Process crypto operation */ > + if (rte_cryptodev_enqueue_burst(dev_id, 0, op, 1) !=3D 1) { > + RTE_LOG(ERR, USER1, > + "line %u FAILED: %s", > + __LINE__, "Error sending packet for operation"); > + return -1; > + } > + > + while (rte_cryptodev_dequeue_burst(dev_id, 0, result_op, 1) =3D=3D 0) > + rte_pause(); > + > + if (*result_op =3D=3D NULL) { > + RTE_LOG(ERR, USER1, > + "line %u FAILED: %s", > + __LINE__, "Failed to process asym crypto op"); > + return -1; > + } > + return 0; > +} > + > static int > queue_ops_rsa_sign_verify(void *sess) > { > @@ -809,6 +842,8 @@ testsuite_setup(void) > test_vector.size =3D 0; > load_test_vectors(); >=20 > + srand(time(NULL)); > + > /* Device, op pool and session configuration for asymmetric crypto. 8< > */ > ts_params->op_mpool =3D rte_crypto_op_pool_create( > "CRYPTO_ASYM_OP_POOL", > @@ -2196,6 +2231,219 @@ test_ecpm_all_curve(void) > return overall_status; > } >=20 > +static void * > +dh_alice_bob_set_session(uint8_t dev_id, > + struct rte_crypto_op *op, > + const struct test_dh_group *group) > +{ > + struct rte_crypto_asym_xform xform =3D { }; > + void *sess =3D NULL; > + int ret =3D 0; > + > + xform.xform_type =3D RTE_CRYPTO_ASYM_XFORM_DH; > + xform.dh.g.data =3D group->g.data; > + xform.dh.g.length =3D group->g.bytesize; > + xform.dh.p.data =3D group->p.data; > + xform.dh.p.length =3D group->p.bytesize; > + ret =3D rte_cryptodev_asym_session_create(dev_id, &xform, > + testsuite_params.session_mpool, &sess); > + if (ret) > + return NULL; > + > + rte_crypto_op_attach_asym_session(op, sess); > + return sess; > +} > + > +static void > +dh_alice_bob_gen_x(const struct test_dh_group *group, > + uint8_t *private_data) > +{ > + test_crypto_rand(group->priv_ff_size, private_data); > + if (private_data[0] > group->p.data[0]) > + private_data[0] =3D group->p.data[0] - 1; } } in next line. > + > +static int > +dh_alice_bob_gen_y(struct rte_crypto_op *op, > + const char *name, > + const uint8_t dev_id, Could this order be dev_id, name, op etc ?? > + uint8_t *y, > + uint8_t *x, > + const int ff_size) > +{ > + struct rte_crypto_op *result_op; > + int ret =3D 0; > + > + op->asym->dh.ke_type =3D RTE_CRYPTO_ASYM_KE_PUB_KEY_GENERATE; > + op->asym->dh.pub_key.data =3D y; > + op->asym->dh.priv_key.data =3D x; > + op->asym->dh.priv_key.length =3D ff_size; > + > + ret =3D process_crypto_request(dev_id, &op, &result_op); > + TEST_ASSERT_SUCCESS(ret, "Failed to compute public key for %s", > name); > + > + return 0; > +} > + > +static int > +dh_alice_bob_shared_compute(uint8_t dev_id, > + const char *name, > + struct rte_crypto_op *op, > + uint8_t *secret, > + uint8_t *peer, > + uint32_t peer_size) > +{ > + struct rte_crypto_op *result_op; > + int ret =3D 0; > + > + op->asym->dh.ke_type =3D > RTE_CRYPTO_ASYM_KE_SHARED_SECRET_COMPUTE; > + op->asym->dh.pub_key.data =3D peer; > + op->asym->dh.pub_key.length =3D peer_size; > + op->asym->dh.shared_secret.data =3D secret; > + > + ret =3D process_crypto_request(dev_id, &op, &result_op); > + TEST_ASSERT_SUCCESS(ret, > + "Failed to compute shared secret for %s", > + name); > + > + return 0; > +} > + > +/* Diffie-Hellman test to verify the processed data */ static int Patch format incorrect ? > +dh_alice_bob_verify(struct rte_crypto_op *alice_op, > + struct rte_crypto_op *bob_op) > +{ > + int ret =3D 0; > + > + /* Verify processed data */ > + ret =3D (alice_op->asym->dh.shared_secret.length =3D=3D > + bob_op->asym->dh.shared_secret.length); Is 0 length allowed ? > + if (!ret) { > + RTE_LOG(ERR, USER1, "line %u FAILED: %s", __LINE__, > + "Alice's and Bob's shared secret length do not match."); > + return TEST_FAILED; > + } > + ret =3D memcmp(alice_op->asym->dh.shared_secret.data, > + alice_op->asym->dh.shared_secret.data, > + bob_op->asym->dh.shared_secret.length); > + if (ret) { > + RTE_LOG(ERR, USER1, "line %u FAILED: %s", __LINE__, > + "Alice's and Bob's shared secret do not match."); > + return TEST_FAILED; > + } > + return TEST_SUCCESS; > +} > + > +static const struct test_dh_group test_dh_ikev2group_24 =3D { > + .id =3D 0, > + /* > + * Officially 24, ikev2 > + */ > + .g =3D { > + .data =3D test_dh_ikev2group24_g, > + .bytesize =3D sizeof(test_dh_ikev2group24_g), > + }, > + .p =3D { > + .data =3D test_dh_ikev2group24_p, > + .bytesize =3D sizeof(test_dh_ikev2group24_p), > + }, > + .priv_ff_size =3D 32, > +}; > + Below are suppose to be 2/3 patch right ? > +static const struct test_dh_group test_ecdh_secp256r1 =3D { > + .id =3D RTE_CRYPTO_EC_GROUP_SECP256R1, > + .priv_ff_size =3D 32, > +}; > +static const struct test_dh_group test_ecdh_secp384r1 =3D { > + .id =3D RTE_CRYPTO_EC_GROUP_SECP384R1, > + .priv_ff_size =3D 48, > +}; > +static const struct test_dh_group test_ecdh_secp521r1 =3D { > + .id =3D RTE_CRYPTO_EC_GROUP_SECP521R1, > + .priv_ff_size =3D 64, > +}; > + > + > #endif /* TEST_CRYPTODEV_DH_TEST_VECTORS_H__ */ > -- > 2.17.1