Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp345779rdb; Tue, 16 Jan 2024 02:00:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHX8tIPxd8BOlD715FLzAgVQiFTZXFaeaU+QJLu/Gn58SS0ga+vWTEkV1AuxQ7dEGIbb8q3 X-Received: by 2002:a05:622a:1baa:b0:429:f732:8f3 with SMTP id bp42-20020a05622a1baa00b00429f73208f3mr2242685qtb.55.1705399229575; Tue, 16 Jan 2024 02:00:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705399229; cv=pass; d=google.com; s=arc-20160816; b=0h7cuAMG/FXqd/T2c8960qzqfBu8zGpZom4B3a2JaDNi1eNca9dtvdkD2thMHkqrP/ AwHDsJShkaKBbM9jX1Bx8ymUI0CnANmyDtt5ghY57sUVXOWdWTxZbuW+5Pv1v1hLq1c1 PkTAG7j7OVg3tynHZbuHDbei2fAqOzX3ApE9sPdjylHKohhmGChYSnmr2tDlxyCAVlb7 ieBRXLF2lopcnsPW/Ek0qU81nqaZ//VJkkOS+mzA34vE1C39QJ3XPaFNBYH2AxXb+IKW hYYz7gkTNZKpqx9Kumw4muej48jgibTzvjvkniVSfKMy2Ffx4b3uBrv18XaCA6Czk1Rj rxgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature; bh=rX8AaQvvOhugl3Pdapny5eOmLB3UeQcOLYFGys1ZFDk=; fh=CLxG5z5uDdcpbW3TmEwBOzH9ivifzDYJvDvgMDb8UVc=; b=ueLcCqnXyYbRNrGHX48s/TAqkaqMXRwTrQh1Y9g6yCVp/Va2YJPf9FO7cSNxZpFHSp XgD82mOCIwlgEaYr4PnuejqDF65gee3m/RG7WBp0AWbWjLeXnKQpQ6/emgfKy5hOr55g u210JOY4I++YvvAeiNhIPjl3TOXdVbXyPMZccarSuBwGE5/8zz/g8n2sHGq1qv0AAAOH 0T5ZxQAfunDJodBO+HmG/p4MLkkN8Oo+OfQGnLznKs5NbZfiKwlvSD0TsZDVj81eI1q+ 7oGDgYuFa/3CHMO1Xe4C6YhFL4S7fiIpfrt1u2dJmigQ2VPR8gLFWcCC1mCU93QmYngw JS2g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=hYHjRm2P; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-crypto+bounces-1465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1465-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d2-20020a05622a15c200b00429d70d7ccbsi6391631qty.198.2024.01.16.02.00.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 02:00:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=hYHjRm2P; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-crypto+bounces-1465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1465-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4A3D71C228CD for ; Tue, 16 Jan 2024 10:00:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B61F17594; Tue, 16 Jan 2024 09:59:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="hYHjRm2P" X-Original-To: linux-crypto@vger.kernel.org Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2044.outbound.protection.outlook.com [40.107.247.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61FAD17568; Tue, 16 Jan 2024 09:59:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=idwpVFIVHHevVDAkON7kWMdLE3Kt4thxSHx+avu20BmwCtWia+3P42FGpykFyXvGpWzTz9vRwgRJ4uOvDkR6whTBbBfGVZsqjKidaep5PMv1LRfwCilD9XleY9iQGxWHkFTXsjW4Smbf3i6wj9lBFnfo7MD928igsuGyAVnNljRIWLQzCmChD/tZ0MTJ3Tf5Few537ehySffYCYQY1Z3aStwRJymuDSdHVGTMurZUKvA4Yd+/izG/N62X/pRJBrzTTfjWXTlJWWNkA5XdILx+aVoas85ngo3Z9mLPHzCc2pngeraaS9Ki+Bdctm51SzR0gz+foWTGnHEicb8Ruux5Q== 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=rX8AaQvvOhugl3Pdapny5eOmLB3UeQcOLYFGys1ZFDk=; b=QYIDqBIpeRpc/eJsOderBS0s1vZ1o9IAmMtXUy5KB/OwFpHbxqILydEHEEE+gj1FTfVJsKJ+Y73pJWvrjrTtHbQrIUPOn9uLf9CW1/S+9qXl+cO9SkG1AOc9Y18OULlfZDYuOAzvWSO4a8lR/WOQ66oNxzvzQBRhsghPGdWjwB016o1x3kLHqumaP0AZahtx2uFw10HGE6dB45xyBBVTsi/D+TEzQE/bWu8dCl141Uz6BCyP4E6nUBtKd3tqwXKkC7zfR+b3BAm20UnFInQDy8qjPZb3/BGuzYoFziSU6/e1i9xNS7V4h8AOOX5qFiri1hoLws+F966bgUZZ+Dkqbw== 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=rX8AaQvvOhugl3Pdapny5eOmLB3UeQcOLYFGys1ZFDk=; b=hYHjRm2PKaWJiZvaTR4/pjy41F75wNwfTWGRmXkgJ5ICOI5DPJLN6pE776VmaLgWrBnWKCfpkdfzl8U1emlQZhHEHMzKlZ84mHbmltfqsQfaXn83INXczxViLHK52SV2OJeSTCUaxP4txmCepjHru+9pP38Y4yEp4rf3LS0CYjg= Received: from DB6PR04MB3190.eurprd04.prod.outlook.com (2603:10a6:6:5::31) by AS8PR04MB8931.eurprd04.prod.outlook.com (2603:10a6:20b:42e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.28; Tue, 16 Jan 2024 09:59:29 +0000 Received: from DB6PR04MB3190.eurprd04.prod.outlook.com ([fe80::530c:5815:14e4:2c7c]) by DB6PR04MB3190.eurprd04.prod.outlook.com ([fe80::530c:5815:14e4:2c7c%5]) with mapi id 15.20.7181.018; Tue, 16 Jan 2024 09:59:29 +0000 From: Kshitiz Varshney To: Herbert Xu , Shawn Guo , Sascha Hauer , Fabio Estevam , dl-linux-imx , Pengutronix Kernel Team , Varun Sethi , Gaurav Jain , Pankaj Gupta , Sahil Malhotra , Vabhav Sharma , Meenakshi Aggarwal , Rahul Kumar Yadav , Nikhil Singla CC: "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v1] imx_v6_v7_defconfig: Enable sm3, sm4, polyval, xctr cipher test support Thread-Topic: [PATCH v1] imx_v6_v7_defconfig: Enable sm3, sm4, polyval, xctr cipher test support Thread-Index: AQHaMzkv0uKPr9fQ6U+/vbkIUpb10rDcXong Date: Tue, 16 Jan 2024 09:59:29 +0000 Message-ID: References: <20231220113857.1127598-1-kshitiz.varshney@nxp.com> In-Reply-To: <20231220113857.1127598-1-kshitiz.varshney@nxp.com> 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-traffictypediagnostic: DB6PR04MB3190:EE_|AS8PR04MB8931:EE_ x-ms-office365-filtering-correlation-id: e4fd5579-1377-4980-039a-08dc1679d4bb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EiiL8s8cicx90vwZOkBRITxeum+YW3FqCXfw4Q8ZuTb7Nmb/6UUUwC2ZuOgc2A3nO/QWP+Ao1dWcPXzz5WkL2WASs3n+5i3pnOTRMl1Wxsz4w6KQTB2SZloWX9uFCgwo5n1iMOFQnoYwaMZ9eRjhEOMsf6bzudXdpOYibFXAqyRdIK8/G+WKrbjwfCIHtdlIxzgXr5Kmpm61teFCYq6ntU80UG+pW68Spjltu1YWFW9ebLvEjGzTs4IEdPShbEVLhNEX92abIBC1x0QTcWdtv1xLCeQT/WP/2+T0DkdORTruVGwZXsMjYWyWKLba6Y7EP0pYKp4el/GRKH7ClIaUtcx75IXKERG0kYtnMxOfzPo/UqnQnrBoptV4H8ZkaG9SVOcV4LCv4yUj8kwSieG97baKsEGVaB1ekXWJk+i2hHMlIGdSEeN36disbhfUPcWdWHAxhAi28oVcXmmQvGTMvCXmOPwdH7Xsl+AkkiqUI3tP+ncnvSOX10DiA5Dj3Wdhqj+krnNUGoL4UvJOTxVHoDVROzqRrMsAZ9yR+jSO65Y1m/j/A5Z5z4xKLS3CladBYvw89ElHUuCOdFYtgKzMVoXSg3TIPVoe5pholMNDTNUsAWUGwSj8dgjqXJFE+SnsK+oN62SBW1okcGqYHVEE1A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB6PR04MB3190.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(396003)(366004)(136003)(39860400002)(346002)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(122000001)(2906002)(41300700001)(33656002)(86362001)(38100700002)(53546011)(7696005)(54906003)(6506007)(64756008)(66446008)(66946007)(6636002)(66556008)(8676002)(55236004)(66476007)(316002)(9686003)(8936002)(71200400001)(478600001)(83380400001)(5660300002)(52536014)(4326008)(44832011)(26005)(76116006)(110136005)(38070700009)(921011)(55016003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0okKNruLc/zhgY/uBV6YhLk+VFVpl7q6TFJJEBNXqZ32TAE73VQYtDbSWgFu?= =?us-ascii?Q?xh4mB+K+KlsfE99Uq+JH11z3Qu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q?YMOD3MrTF4UX9yT/8Y2wiQpu+0ydHwFOY2WQSEoOuLr2aPk8Qt6RVg66stXg?= =?us-ascii?Q?55ylBnqAZZAfO5mibWqjZT7JTSbOREy0iDe9s47X1Usxsq4P5YB4vA2vZtml?= =?us-ascii?Q?i2Tko9D/SwZO7mjXk+w8VqQfQnwoQU+zueE9ws6LipJIAAbCV31tKUeAS/E5?= =?us-ascii?Q?P/pWLsc0Enrb+37pEAhjMr860q1FuxgGWJWkLuKmxl3EjyfOtAk+2aL3O/JA?= =?us-ascii?Q?NiO+pR2L+d6VEzfQhvrLRq6Zak9qIgBTcmiI7q2bI/Y7TaHD539tNXgc6lnQ?= =?us-ascii?Q?eh0Zahf684BcMN/tH2qdbiwgd0N6oOs3FZWWZvlZeXpO9ypYYgStlT6rKUnk?= =?us-ascii?Q?IXWlElOnG7cVBYID+gowDP1/t4Pf8I0aJkve6lCmlH40v6K3BRPVEbH2hpyl?= =?us-ascii?Q?InBgZUY2qUfHof3uaq4+c2pq9p78aokwI+Up9G+fhQSmIIq7WBbA67eB3GXr?= =?us-ascii?Q?eQ/LfPhj6fva4fIFMzlQAmzx2ngIlF+vJL8SAVANTd6NIacV+x12rfQswRel?= =?us-ascii?Q?3qTYx/xlT25h2Cl1ByjI3PcQnfySQ6xni2LxcicxzXQVQD5kFWms6SJ6uPIm?= =?us-ascii?Q?75skHbPYu5sI4y2boMlPiO3tazylpvvHVAC0McPk?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB6PR04MB3190.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4fd5579-1377-4980-039a-08dc1679d4bb X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2024 09:59:29.5601 (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: hYQQ1iNwR/XSkxl/u3SD6b2tLx4Sf2rRMMOkgsdf8VKZ3bL5IdDkar/645Oe3M9h/uO5Tahk/ZePdWeBQgOeTYXvKjuBO6DAzYInaDb8c2A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8931 Hi Herbert, Gentle Reminder. Please help to merge the patch. Regards, Kshitiz > -----Original Message----- > From: Kshitiz Varshney > Sent: Wednesday, December 20, 2023 5:09 PM > To: Herbert Xu ; Shawn Guo > ; Sascha Hauer ; Fabio > Estevam ; dl-linux-imx ; > Pengutronix Kernel Team ; Varun Sethi > ; Gaurav Jain ; Pankaj Gupta > ; Sahil Malhotra ; > Vabhav Sharma ; Meenakshi Aggarwal > ; Rahul Kumar Yadav > ; Nikhil Singla > Cc: linux-crypto@vger.kernel.org; linux-kernel@vger.kernel.org; Kshitiz > Varshney > Subject: [PATCH v1] imx_v6_v7_defconfig: Enable sm3, sm4, polyval, xctr > cipher test support >=20 > Enable config for sm3, sm4, polyval, xctr cipher test as built in mod= ule. >=20 > Issue:- > Multiple crypto tests like sm3, sm4 xctr and polyval failing. >=20 > skcipher: failed to allocate transform for xctr(aes): -2 > alg: self-tests for xctr(aes) using xctr(aes) failed (rc=3D-2) > alg: self-tests for sm3 using sm3 failed (rc=3D-2) > tcrypt: failed to load transform for sm3: -2 > alg: hash: failed to allocate transform for polyval: -2 > alg: self-tests for polyval using polyval failed (rc=3D-2) >=20 > Resolution:- > Enabling CONFIG_CRYPTO_SM3_GENERIC, > CONFIG_CRYPTO_SM4_GENERIC, > CONFIG_CRYPTO_HCTR2, CONFIG_CRYPTO_ARIA as module enables > support of > sm3, sm4, aria, polyval & xctr. >=20 > Signed-off-by: Kshitiz Varshney > --- > arch/arm/configs/imx_v6_v7_defconfig | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/arch/arm/configs/imx_v6_v7_defconfig > b/arch/arm/configs/imx_v6_v7_defconfig > index 0a90583f9f01..627f57da9d5b 100644 > --- a/arch/arm/configs/imx_v6_v7_defconfig > +++ b/arch/arm/configs/imx_v6_v7_defconfig > @@ -484,3 +484,7 @@ CONFIG_DEBUG_FS=3Dy > # CONFIG_SLUB_DEBUG is not set > # CONFIG_SCHED_DEBUG is not set > # CONFIG_FTRACE is not set > +CONFIG_CRYPTO_HCTR2=3Dm > +CONFIG_CRYPTO_SM3_GENERIC=3Dm > +CONFIG_CRYPTO_SM4_GENERIC=3Dm > +CONFIG_CRYPTO_ARIA=3Dm > -- > 2.25.1