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 5D7CAA00BE; Mon, 16 May 2022 09:27:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E4A140E03; Mon, 16 May 2022 09:27:54 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60079.outbound.protection.outlook.com [40.107.6.79]) by mails.dpdk.org (Postfix) with ESMTP id 6B9B940A7D for ; Mon, 16 May 2022 09:27:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dlKX5zeDnf5TVyIkRjY6YL9ukrKHjOhlRMR33/mkaFkIO7KaFuIZ81cgXF9u0L3SPNOjm5AwrC5/BXJyu8fB3gatybv4V/O9Lxg5RCNYgyKZ+MPOgZoMt69xKhQ8Rk8r2OPBx+hw8p+3wtiU54hxDuN7mVnFE1V6/r1dZrwC1hkVDqlDq9BtQbefCD5fpegdM8c6K17/2kuPsazcIMk4nZxsWbifhvKadrXDDEj6pgPlUujHKyBOKcTceQcQBkO8/HlV2KYa+OQq5VoxD2ui6flE6YCLRPi5aB0wvnqy+ScHzQy1gQ0NIDh+IzVUkvd2+EfPuve8f9bM12NuU+t8MA== 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=nRFZpzqc9Lhd8CP3+AJ/G97XZ36xceWAORv1cTNG9EA=; b=oKFB0XCtytXsLLbvQvgRA4vABbyiVEGyJQlhoxw6slvmkRUs1ezhrfntsLuvkinrZfinRFAHIPd+wWqdDHxQfena3L2q7J6J18HOS7/JG1d96VfiokQ0JgsZpCk5llVAXLA1USXWIFOODfUgvlwppQIcO5TAryiahXIvFnM82TiUFp/EXrthz02l080hQBs0fX56kEOz9MP776JlQVS9s4RFzaOw7/z/vyXNuLr5sgF5qt3KfLFxt34C8sKpoqTE2XdT5ABm2jF6RCe//c0RkOefl1ExOdEhbn9+/lVU28N4qV4nONMLdCRrw34DBdSKAVC5nJp8c+Q5iZEqww9bOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nRFZpzqc9Lhd8CP3+AJ/G97XZ36xceWAORv1cTNG9EA=; b=Ygkli8ePMcm7p5ibb6Y2m5VozSkHYTPFznA++j2+O6k5RmqgAPZ8lt+i+fqHf8uGX5nT7ewtojQKuyTUSZt+1xNj5mV7fUd78lG3Ux9LdSP4of+z/UdVewOhR/iB4iK+p1Ush3d8mbgl7RfTH7ZqZ7751QoxdCtGM7gyxvQHifM= Received: from AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) by AM0PR0402MB3825.eurprd04.prod.outlook.com (2603:10a6:208:6::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.18; Mon, 16 May 2022 07:27:52 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::8cf1:93b:c340:3be2]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::8cf1:93b:c340:3be2%9]) with mapi id 15.20.5250.018; Mon, 16 May 2022 07:27:52 +0000 From: Gagandeep Singh To: Akhil Goyal , "dev@dpdk.org" Subject: RE: [EXT] [PATCH 8/8] test/crypto: add short MAC-I test vector for zuc Thread-Topic: [EXT] [PATCH 8/8] test/crypto: add short MAC-I test vector for zuc Thread-Index: AQHYWFsRVLrkq57Jnk6oKUVQ3gqYO60cvKmAgAR+1JA= Date: Mon, 16 May 2022 07:27:52 +0000 Message-ID: References: <20220425041423.2232034-1-g.singh@nxp.com> <20220425041423.2232034-8-g.singh@nxp.com> In-Reply-To: Accept-Language: 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=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3cf838a8-3729-4b52-5f04-08da370d9673 x-ms-traffictypediagnostic: AM0PR0402MB3825:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oaAedWd7ilnWsAuhBoMSmmhaLJvU8kzKHNgkn0uR5QJtwf+npcqIKoDoJnfiaegEXHkkXRZwTMHctVdz/4FMAIwhxSv2jvAUG2KBSP31qj2iGHlwmKP5IaOLRiYwROjAL9lOwsk5n3Q5Ky9cuiz1FJX/zQZI73qkOP9aScSRvQo5SNm5lAC3ALWjormhvGubG5lJioAt+kSNLubFcvVY8FZY7LZl4Z+0ZDMHuX9jLl62cf0b9SCxeccwrU/YWSfFZHZyjWVQhcvBk+pj63WAxunI/bMJ84gVCLl/R1LiOx5XgWLJNGi4ZX5QTTyhjve1nMdwz3Yu2icFkj5v93Km6COzams1ONTovJwvcSHZsiuPswHNq8EfOPPbsZX6xFVrDDzOlmlrcd+hQBMT1b6Cn36CInjX/cWVk8U/3tKOrOLRzhB7pNk6v3dPBaOPqVhH2ePDXknhq8p4ZVlp1/mE233HvQdd9f/OFcT2pI89oyfhFGU3Xiolr/ML2V6cjU7Sh4kTh1eRiQZquw+XN6tOatyGtUtKsP46RHEXn2eJsItyWWdJAeGJBZnByaZqa7a3Di4Zj3JRF3RX5C9pr3nEg9Hj1vP8Ryprt3gFNBlFtF0wCOSjtwcx7Ugf/Q4kfXyMEkn01OHlrTe86aFQ0LhyA7yvTYNxOW/wPfXuWHEIU2GfqqrGHqY3JI5JAjZnlyWt9XKH176ZIVHOlXc8bLwbDA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8198.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(76116006)(86362001)(55236004)(2906002)(38100700002)(33656002)(7696005)(6506007)(508600001)(66446008)(66556008)(38070700005)(66946007)(64756008)(55016003)(53546011)(83380400001)(66476007)(71200400001)(122000001)(52536014)(8676002)(8936002)(186003)(110136005)(5660300002)(9686003)(316002)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?YLaMpxawBQ0YcGGmm3UJzE30bw05a9a/hNMlLITBkyAYxjpMg0hwZg0Xr+SB?= =?us-ascii?Q?qERqy7tMaeecdtQYOCt/lbUPOOinNXLcmyKQ1drWWx0jtjcDN0OE4RilFnUg?= =?us-ascii?Q?3vG087vv8orYBpkpFkw40OahyV8gEKRczEVH7H3QP+hlyB3YirtQLCezkuKL?= =?us-ascii?Q?0BlGEL4RUasEUZMiqeJfn3ea0wWjsSkSvIOSXi6Q8O8rWG0g10Q51JLhZy/L?= =?us-ascii?Q?sHlbTYOSr3rVPmo5xhJLvT8s+GnZlxfubZ4uLUNF8o4dyBZH9g9t2rbaVnlO?= =?us-ascii?Q?TPDuV+GzBqJzujR6AqakUH959gqx2ofn8no4NHhyDxR5kR6ZBYCPvYt3VJ3c?= =?us-ascii?Q?QakkZexX4puPjOCP1vNi/Gdcn6c5++jtJZJFmj1hLRrNhuuBXqcqugZse+pM?= =?us-ascii?Q?caIT4K3Tm/ygajYjmtRSBY6K3rVV03AZ5ULTWgYQhvf4YsV04wqoyKwht4Ue?= =?us-ascii?Q?hi71Prama0c39xGFH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/GLQ?= =?us-ascii?Q?ThK4fscIwdxUSU9dvOpzoZJulHwcmGrzPXBD0umshGONzRzGYVnehOOXv8Hf?= =?us-ascii?Q?xBvjTedbEludOpTRpyr1JpuNkepx6h7+qZX8wnQgBplnSkhsNBJupqBK4ZAW?= =?us-ascii?Q?YS92HRMdv7rhJOJ3S4xesRL+kxXIALkd6jlv81svCV+OritD60SDiAIxAEQO?= =?us-ascii?Q?PWqmezNc6oAUhxruuyg1p+KyTxltKLvabSi8iD+mCWItxMo/F9Ap7zWMHjz0?= =?us-ascii?Q?dTByBfSTy+eiDkgvb9DtSYPXFcx1uUonRcyI+GZQKJ5A5CwRDoeXCq4qE80+?= =?us-ascii?Q?G0K6Tbb9n+/AEeo1WriM+J595s9ZTQk3PxD9WV4oazRaQyOw?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3cf838a8-3729-4b52-5f04-08da370d9673 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2022 07:27:52.4279 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EvzeZuvEGe0HGTcorXAYUok0qizFzbczeEoVSCB8vg/jk1GjmZEkKbeaP42PtG83 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0402MB3825 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 Hi > -----Original Message----- > From: Akhil Goyal > Sent: Friday, May 13, 2022 4:16 PM > To: Gagandeep Singh ; dev@dpdk.org > Subject: RE: [EXT] [PATCH 8/8] test/crypto: add short MAC-I test vector f= or zuc >=20 > > Add a ZUC based short MAC-I test vector. > > > > Signed-off-by: Gagandeep Singh >=20 > Only test vector, where is the test case calling this? There is test case available in "test_PDCP_PROTO_short_mac" Which is running all the vectors available in "list_pdcp_smac_tests" > > --- > > ...est_cryptodev_security_pdcp_test_vectors.h | 20 > > +++++++++++++++++-- > > 1 file changed, 18 insertions(+), 2 deletions(-) > > > > diff --git a/app/test/test_cryptodev_security_pdcp_test_vectors.h > > b/app/test/test_cryptodev_security_pdcp_test_vectors.h > > index 81fd6e606b..585c10b423 100644 > > --- a/app/test/test_cryptodev_security_pdcp_test_vectors.h > > +++ b/app/test/test_cryptodev_security_pdcp_test_vectors.h > > @@ -1,7 +1,7 @@ > > /* SPDX-License-Identifier: BSD-3-Clause > > * > > * Copyright (C) 2015-2016 Freescale Semiconductor,Inc. > > - * Copyright 2018-2021 NXP > > + * Copyright 2018-2022 NXP > > */ > > > > #ifndef SECURITY_PDCP_TEST_VECTOR_H_ > > @@ -128,7 +128,23 @@ static const struct pdcp_short_mac_test > > list_pdcp_smac_tests[] =3D { > > .data_out =3D (uint8_t[]){ 0x33, 0x32, 0x34, 0x62, 0x63, 0x39, > > 0x38, 0x00, 0x00, 0x00, 0x00 }, > > }, > > - > > + { > > + .test_idx =3D 6, > > + .param =3D {.name =3D "PDCP-SMAC ZUC", > > + .auth_alg =3D RTE_CRYPTO_AUTH_ZUC_EIA3, > > + .domain =3D RTE_SECURITY_PDCP_MODE_SHORT_MAC, > > + .auth_key_len =3D 16, > > + }, > > + .auth_key =3D (uint8_t[]){ 0xB2, 0xA4, 0x73, 0xB6, 0x78, 0x5C, > > + 0x51, 0x8E, 0x9C, 0x1E, 0x9B, 0xC6, > > + 0x66, 0xE4, 0x84, 0x24 > > + }, > > + .data_in =3D (uint8_t[]){ 0x00, 0x40, 0x00, 0x00, 0x00, 0x05, > > + 0x09, 0xe4 }, > > + .in_len =3D 8, > > + .data_out =3D (uint8_t[]){ 0x00, 0x40, 0x00, 0x00, 0x00, 0x05, > > + 0x09, 0xe4, 0xCC, 0x7D, 0xD0, 0xE4 }, > > + }, > > }; > > > > static struct pdcp_test_param pdcp_test_params[] =3D { > > -- > > 2.25.1