Message ID | 20231220113857.1127598-1-kshitiz.varshney@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-6834-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2574016dyi; Wed, 20 Dec 2023 03:40:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkrgEHttcAen3boqN9L4Avc5gXKL9Go2JKV9qEMuFnpXkLf51D33Pajvi7H7VDFIgC/qKN X-Received: by 2002:a17:90b:696:b0:28b:5060:c93a with SMTP id m22-20020a17090b069600b0028b5060c93amr3352745pjz.2.1703072404425; Wed, 20 Dec 2023 03:40:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703072404; cv=pass; d=google.com; s=arc-20160816; b=L+NrZshse5lcf8caWjOODS88foKSIe2yusvV1IP1pZ9hKhblQKuf7swOpwkoDpsFbt SjVy5rKdTAr38IUX+XxweLHL58Jbw1wzeGikoO8PG7tR6yD4KgGW6g6fllfIqiSvX6Lb JddOvx/ReS+jTVT872DIJCOfGtlxDPQ0Yh81bVZTesB4Dx0utoJiX2UsgkLK3qFfJSxq zMoFdfuYSlVD15ZkFtgQej8E22p9ZIgq7CqU2idfMuFNfFiPxkkJ2+CwkHxYo5gxWIyU LosmuLp/hPXXM7ZdH8BlThi07e/ocY1ATeWYCsIT0YlLYkGHxx8JUA58i9xfBBd22DNX JChw== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=5aWSz2We8CVnEwAds0U9W1er5zbjZNFJbv0x4kmGv0c=; fh=pMp3ux8xAaReWSVwmwuxveJvdJ184HyqSq1OXyVFv8Y=; b=VYOlyecSoakqyKI3i8opA1fhN1pIqNVamlw3kSpCCc5tk43bgQUn/U8ANjupwJXDSX DRNVOYnINRNoPlInQVwmq0VyRcE9h3UvRcCMVJLs3crOks9dk+bmcX5hiHh0+V+cqLtL o/tYs1bY6N9qAAfZPWuvlegBXbdf6P9JUP5O5mlGek9NG3K6HnJJhqEpNIfMVz85kgMz O+V/0Bzl+eRmgJ3aXNOOOXT6cVdhc87OxMfwaaPqIbXpyxKEFOol8fJ8zPoALELVrJr4 amkBre2PkXTJGKr+lp3npwCFkSf2WliCC72XhZ9IHPeWi+zq1B0RQDURht9WXKrkTyO0 B+XA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ITq2s04I; 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-kernel+bounces-6834-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6834-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id kk4-20020a17090b4a0400b0028bbe24f30asi2663892pjb.132.2023.12.20.03.40.03 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 03:40:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6834-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ITq2s04I; 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-kernel+bounces-6834-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6834-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id EE98EB24B92 for <ouuuleilei@gmail.com>; Wed, 20 Dec 2023 11:39:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D01421A19; Wed, 20 Dec 2023 11:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ITq2s04I" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2059.outbound.protection.outlook.com [40.107.8.59]) (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 5ACA02137C; Wed, 20 Dec 2023 11:39:30 +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=nw9x+//+UwCnet1eRwXlq27PIKdgHyaPmcEUtJTbQssg9zWUxeRCuI1BClgM8dCmBcMNjeyi5rzIG7+Dj9iW1sHG32WxRPymS4zxAmAhv1UeRpVKO3vq1eKaUwA+wak46LhbOLWSa5Nxkari1d2XN9QXDRXUn1DKHfv0LoAG6T8y4eeFYxSz0fog6CydBzEMlM4Llhr0VnRLRnjezeMltZkGV+4yJ9IFplLWLDxwXuhPu5aSnc3xBPwvRAT6Yvksm0K1HA/jbgE8zc2e/Y7gynCYbxXLwiEHUJU7+3O30WFxDaZ3t8rfh5LgmUYSptK6sftfKcybAC9MK0kLstRdtw== 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=5aWSz2We8CVnEwAds0U9W1er5zbjZNFJbv0x4kmGv0c=; b=M+WoYcvdbFYoajGkYcl+g6fLNmj7CSIixU88qRDJByjjfddKs3i8NendpwaEQtSBAjlmuoMDhPXIPT+TV3wRCWvSkdKvTYVSw7+gbDLNxpe9FpdRpFVaXrGZfIhz7vsdLFCXp3ZjqePIZS2wl3VaKSrMV6PH0DEYlBEITrusaeEgdeTvu+UO4eBsEvMs++kX7ubNMbSgB665NDFGcVFKZPIBINYmtJINTjiG4FMaOKu3tCcClu/sGE5Zgs87U/qA7JsZMEvpiXyKxlUFWhiOUau/kC85Za/+rTG4PiBG5wNJ9heLlHaiAoi/zmiuYM19va1lTwF2PuKdMQX60k4tUw== 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=5aWSz2We8CVnEwAds0U9W1er5zbjZNFJbv0x4kmGv0c=; b=ITq2s04IXhGRLLixKcWOlkG/pAEpwB18AxxXmmsZGgvW6bckUfDNVmjeTCmYb/exo4b2hVzPj1PCn4uzEkiuLj+BpTEtzLtQm7SvnhnLEkvuwVmeWFcNICNSUA+2v/DEXelrodfY0+4PTOdGRl91nN5zNW+DTwa+uW7myB11EMo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB6PR04MB3190.eurprd04.prod.outlook.com (2603:10a6:6:5::31) by PAXPR04MB9470.eurprd04.prod.outlook.com (2603:10a6:102:2b3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.38; Wed, 20 Dec 2023 11:39:27 +0000 Received: from DB6PR04MB3190.eurprd04.prod.outlook.com ([fe80::bc7b:3b03:445:9827]) by DB6PR04MB3190.eurprd04.prod.outlook.com ([fe80::bc7b:3b03:445:9827%7]) with mapi id 15.20.7091.034; Wed, 20 Dec 2023 11:39:27 +0000 From: Kshitiz Varshney <kshitiz.varshney@nxp.com> To: Herbert Xu <herbert@gondor.apana.org.au>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, Varun Sethi <V.Sethi@nxp.com>, Gaurav Jain <gaurav.jain@nxp.com>, Pankaj Gupta <pankaj.gupta@nxp.com>, Sahil Malhotra <sahil.malhotra@nxp.com>, Vabhav Sharma <vabhav.sharma@nxp.com>, Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>, Rahul Kumar Yadav <rahulkumar.yadav@nxp.com>, Nikhil Singla <nikhil.singla@nxp.com> Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Kshitiz Varshney <kshitiz.varshney@nxp.com> Subject: [PATCH v1] imx_v6_v7_defconfig: Enable sm3, sm4, polyval, xctr cipher test support Date: Wed, 20 Dec 2023 12:38:57 +0100 Message-Id: <20231220113857.1127598-1-kshitiz.varshney@nxp.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AM0PR03CA0091.eurprd03.prod.outlook.com (2603:10a6:208:69::32) To DB6PR04MB3190.eurprd04.prod.outlook.com (2603:10a6:6:5::31) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB6PR04MB3190:EE_|PAXPR04MB9470:EE_ X-MS-Office365-Filtering-Correlation-Id: 23606984-f143-4805-2b17-08dc0150524a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ax2SpJE+TJmrA9qM6rE8aAOMYbJGBnaIJrl4InkZP2l0q1jwjtjq9yarzRWEdNsqH0OgANb30OZ3sPq94yK7oMLQjmM4wQfdbxtfvts+RazK08vm1N56MrC63pZeQ65hnH7qgE6OLJ3noDXScFqTQWpTVWi6g5F9cIIinZE1XXpheSqCCSNCkrRkEFqVZHJe6UBhUCAFZ/KEp82B8zn08onCR7VwswyTONe63l1nPANZ0lPSurHNbgk78pTrB9uFGhdSveUMgeS1X85IJHZQysTwQYzOhmYvoOGG8kt94v0iYFzJp66mVl28lgf/o9gVBQJuepGd+jRlyRTq58prP+ckEL1N6ibgqs+O4Dy13WZAJF2eKp62XTaKuEAZRXL79Xu3l4uYLUKR5XTpNf7UkHtTgd40asrzN9lDFRp7/VwrqIg/dOYkPsk6smsqjuw5q9XhA/e/CEK1D/kg5Rnh1vkO0DaCxukaQ63RyjfDgv2WDT/EckrvSu8o9kEXS+4J6PWmM2q4+t3ISHv0co6jpcdbNUxCtfDIvlJOOXZdvAVvRllgE40nTfC8th0+YpayeUStjBsy+ivZnIYCJsQFLLEsvPoMvLc3HeznpmkwZV5hZ21LIg3CWDDxSbS6MVb0 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)(366004)(376002)(396003)(39860400002)(346002)(136003)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(6486002)(478600001)(5660300002)(6506007)(52116002)(921008)(38350700005)(2616005)(1076003)(36756003)(6512007)(26005)(86362001)(2906002)(6666004)(44832011)(66946007)(8676002)(4326008)(110136005)(66556008)(41300700001)(66476007)(8936002)(316002)(6636002)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: K2cCu9b/q0fOiTTXL+WAnwgINRSVdsQ6yW1DtKXjpCHzx4ONxFLGzHuhbHxwr0/UGZxZqp144yPifFL/4rnuUxJDl/3KxNBcmwN8YfrB75GPnoMpzsvvYwVLyyqRHkUNmSwJ6opIivYHv/SiBNkEX4kK0IzQgy2qYm7CMa8P5TyMaImtsI113opl+h1xqbTXhNm6bEeiYnWV7kpzI4oliBbR9Ev17bL0esWDLSrkNdwiDtfejOhcJQ4bfx3adINlbQOL3ihggSkQ9fCbujk/Xh4A+0EqNA0onFjLg8l7meOoyA1QYchsVUQ9CDuHbGBU/PsQ9ti2Js+fMESjxEA3+HyvW87GyPM2qqq4p9AB3HvLFGyM3L7j27E4QRVQ5VZuBAKMrAgz+SwDW6edQKq9i4QoCewk6Gl75c+CR0CzNn3cBwwjCLcYP1hC7jAY6eK7FbOKtZQ5Nxi2HV+AXjG3FHdVQuDlcOP6nHHRZv0B4syjJHH9n2xowGBHphAe7gtO93cr2U21tUTSs0Hp3jqLfrxHu3N4zcY0B/BjpKGkSJ77Jy+iiCSdTfYQx5cCMrLk78b9q64GzTMCPi9R3w3LzxjMdonHuP/ti/rQZQo9xSVv7zKPN2es/iCs+XZ89KFmKqRbNQ8SIK11O5I20fvyBqUlqd5GSE2JF47CRM/8Yq9MUT3b32TpzJlzaQ88HwMfooV4rc7/SL1CBbzccKWBMB4RYy77n/tfx5Gh8SX7DiTIdycPOFLNSPxbTdycAW36FpssKBzdBYduuXRf2sdvM/tBrSbj72EvQqQEv9WztFPmMQXDymRn6Bl+LkoTd1Yu7+ctwPdZhcrPFpkUhF8ThVdS6JMVTK9eHLn3Bf2YMz5FNsA/5CDMTmMY1guN6X4unn+dbMEi8lS7qqa4z9PLJwKiKVwz0hbcOHMlDDHn7MoMdWrNXsy5IvoIV1K7y8IT7jA9zI7UmscFU6sAEYKwQ1x7BO0aUMSpXC3FIrBh+J79tjNM3Dk00+Us48NJI0eg0OUF6FPU3F75qhS2Bmr9ejnQXh9IsP7KVVWJwraKF/sYTZwTCKhwX6Sky/S8jh6VdC7XUqKhiL2lqJozpxmwToLhu56N0rFzmMVpjrqJoWmBytUsU+rOdS9fttGiHzHBTqeeie8yEzKZs9nnEi6Rv6zXSxUInlUO8tsiorzdH8xRMjgokzGMHwcUzg53kFh/R+KyrLRds3Wop2COhhVsiEs39uApllbzGSrX/D+6xw3Sc25cyePxwp9/KtXIFfv+Qbpmkxor97RmJFFl/NTmj5AMr5CHSYOSKu2JwdlnvZaZNzsMeJNx2CQiJm3oPBC/cIac8pCljBpkjox9yV/H4UuaLmDfJnlRCPPdVs84FD2TcjrlkNzm97K/bSxuMCspV52wiUByqXIA0hsrp7OKP9ffb8aAfG38eLLOl8sGUsRCXAlbbnuS5PRhiecnWi+RKetwIjGCk0p7iIsq7cWMLOal4zmyR67JjKaE8XYPRBE7RENfqxk/NDISBn6gLTexK8PGcj3wATMPwY5bQ/PhwBl4yeKk06X5g85GUIEHuOHEywHCqYd0DoCoXq/uqifs X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23606984-f143-4805-2b17-08dc0150524a X-MS-Exchange-CrossTenant-AuthSource: DB6PR04MB3190.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2023 11:39:27.1275 (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: OrxfZxr1KLrAXs9sY1Zqj4Js9cFMXXRkULqFtDd42zVzwa8HpnC25laDd2MiiXYWDHuBei8BAvFVMENHBwrD0W0pZ0akmdnCxS0xVJzOgjU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9470 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785800849406092517 X-GMAIL-MSGID: 1785800849406092517 |
Series |
[v1] imx_v6_v7_defconfig: Enable sm3, sm4, polyval, xctr cipher test support
|
|
Commit Message
Kshitiz Varshney
Dec. 20, 2023, 11:38 a.m. UTC
Enable config for sm3, sm4, polyval, xctr cipher test as built in module.
Issue:-
Multiple crypto tests like sm3, sm4 xctr and polyval failing.
skcipher: failed to allocate transform for xctr(aes): -2
alg: self-tests for xctr(aes) using xctr(aes) failed (rc=-2)
alg: self-tests for sm3 using sm3 failed (rc=-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=-2)
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.
Signed-off-by: Kshitiz Varshney <kshitiz.varshney@nxp.com>
---
arch/arm/configs/imx_v6_v7_defconfig | 4 ++++
1 file changed, 4 insertions(+)
Comments
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com> > -----Original Message----- > From: Kshitiz Varshney <kshitiz.varshney@nxp.com> > Sent: Wednesday, December 20, 2023 5:09 PM > To: Herbert Xu <herbert@gondor.apana.org.au>; Shawn Guo > <shawnguo@kernel.org>; Sascha Hauer <s.hauer@pengutronix.de>; Fabio > Estevam <festevam@gmail.com>; dl-linux-imx <linux-imx@nxp.com>; > Pengutronix Kernel Team <kernel@pengutronix.de>; Varun Sethi > <V.Sethi@nxp.com>; Gaurav Jain <gaurav.jain@nxp.com>; Pankaj Gupta > <pankaj.gupta@nxp.com>; Sahil Malhotra <sahil.malhotra@nxp.com>; Vabhav > Sharma <vabhav.sharma@nxp.com>; Meenakshi Aggarwal > <meenakshi.aggarwal@nxp.com>; Rahul Kumar Yadav > <rahulkumar.yadav@nxp.com>; Nikhil Singla <nikhil.singla@nxp.com> > Cc: linux-crypto@vger.kernel.org; linux-kernel@vger.kernel.org; Kshitiz > Varshney <kshitiz.varshney@nxp.com> > Subject: [PATCH v1] imx_v6_v7_defconfig: Enable sm3, sm4, polyval, xctr cipher > test support > > Enable config for sm3, sm4, polyval, xctr cipher test as built in module. > > Issue:- > Multiple crypto tests like sm3, sm4 xctr and polyval failing. > > skcipher: failed to allocate transform for xctr(aes): -2 > alg: self-tests for xctr(aes) using xctr(aes) failed (rc=-2) > alg: self-tests for sm3 using sm3 failed (rc=-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=-2) > > 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. > > Signed-off-by: Kshitiz Varshney <kshitiz.varshney@nxp.com> > --- > arch/arm/configs/imx_v6_v7_defconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > 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=y > # CONFIG_SLUB_DEBUG is not set > # CONFIG_SCHED_DEBUG is not set > # CONFIG_FTRACE is not set > +CONFIG_CRYPTO_HCTR2=m > +CONFIG_CRYPTO_SM3_GENERIC=m > +CONFIG_CRYPTO_SM4_GENERIC=m > +CONFIG_CRYPTO_ARIA=m > -- > 2.25.1
Hi Herbert, Gentle Reminder. Please help to merge the patch. Regards, Kshitiz > -----Original Message----- > From: Kshitiz Varshney <kshitiz.varshney@nxp.com> > Sent: Wednesday, December 20, 2023 5:09 PM > To: Herbert Xu <herbert@gondor.apana.org.au>; Shawn Guo > <shawnguo@kernel.org>; Sascha Hauer <s.hauer@pengutronix.de>; Fabio > Estevam <festevam@gmail.com>; dl-linux-imx <linux-imx@nxp.com>; > Pengutronix Kernel Team <kernel@pengutronix.de>; Varun Sethi > <V.Sethi@nxp.com>; Gaurav Jain <gaurav.jain@nxp.com>; Pankaj Gupta > <pankaj.gupta@nxp.com>; Sahil Malhotra <sahil.malhotra@nxp.com>; > Vabhav Sharma <vabhav.sharma@nxp.com>; Meenakshi Aggarwal > <meenakshi.aggarwal@nxp.com>; Rahul Kumar Yadav > <rahulkumar.yadav@nxp.com>; Nikhil Singla <nikhil.singla@nxp.com> > Cc: linux-crypto@vger.kernel.org; linux-kernel@vger.kernel.org; Kshitiz > Varshney <kshitiz.varshney@nxp.com> > Subject: [PATCH v1] imx_v6_v7_defconfig: Enable sm3, sm4, polyval, xctr > cipher test support > > Enable config for sm3, sm4, polyval, xctr cipher test as built in module. > > Issue:- > Multiple crypto tests like sm3, sm4 xctr and polyval failing. > > skcipher: failed to allocate transform for xctr(aes): -2 > alg: self-tests for xctr(aes) using xctr(aes) failed (rc=-2) > alg: self-tests for sm3 using sm3 failed (rc=-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=-2) > > 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. > > Signed-off-by: Kshitiz Varshney <kshitiz.varshney@nxp.com> > --- > arch/arm/configs/imx_v6_v7_defconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > 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=y > # CONFIG_SLUB_DEBUG is not set > # CONFIG_SCHED_DEBUG is not set > # CONFIG_FTRACE is not set > +CONFIG_CRYPTO_HCTR2=m > +CONFIG_CRYPTO_SM3_GENERIC=m > +CONFIG_CRYPTO_SM4_GENERIC=m > +CONFIG_CRYPTO_ARIA=m > -- > 2.25.1
On Tue, Jan 16, 2024 at 6:59 AM Kshitiz Varshney <kshitiz.varshney@nxp.com> wrote: > > Hi Herbert, > > Gentle Reminder. > Please help to merge the patch. This patch goes to Shawn's tree, not Herbert's. We are currently in the merge window, so this change will likely be applied after 6.8-rc1 is out.
On Wed, Dec 20, 2023 at 12:38:57PM +0100, Kshitiz Varshney wrote: > Enable config for sm3, sm4, polyval, xctr cipher test as built in module. > > Issue:- > Multiple crypto tests like sm3, sm4 xctr and polyval failing. > > skcipher: failed to allocate transform for xctr(aes): -2 > alg: self-tests for xctr(aes) using xctr(aes) failed (rc=-2) > alg: self-tests for sm3 using sm3 failed (rc=-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=-2) > > 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. > > Signed-off-by: Kshitiz Varshney <kshitiz.varshney@nxp.com> The commit log and Signed-off-by lines shouldn't have leading spaces/indent. > --- > arch/arm/configs/imx_v6_v7_defconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > 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=y > # CONFIG_SLUB_DEBUG is not set > # CONFIG_SCHED_DEBUG is not set > # CONFIG_FTRACE is not set > +CONFIG_CRYPTO_HCTR2=m > +CONFIG_CRYPTO_SM3_GENERIC=m > +CONFIG_CRYPTO_SM4_GENERIC=m > +CONFIG_CRYPTO_ARIA=m Instead of adding lines at the end of file, please use help from 'make savedefconfig' to get them appear at the correct places. Shawn
> -----Original Message----- > From: Shawn Guo <shawn.gsc@gmail.com> > Sent: Saturday, February 3, 2024 7:52 PM > To: Kshitiz Varshney <kshitiz.varshney@nxp.com> > Cc: Herbert Xu <herbert@gondor.apana.org.au>; Shawn Guo > <shawnguo@kernel.org>; Sascha Hauer <s.hauer@pengutronix.de>; Fabio > Estevam <festevam@gmail.com>; dl-linux-imx <linux-imx@nxp.com>; > Pengutronix Kernel Team <kernel@pengutronix.de>; Varun Sethi > <V.Sethi@nxp.com>; Gaurav Jain <gaurav.jain@nxp.com>; Pankaj Gupta > <pankaj.gupta@nxp.com>; Sahil Malhotra <sahil.malhotra@nxp.com>; > Vabhav Sharma <vabhav.sharma@nxp.com>; Meenakshi Aggarwal > <meenakshi.aggarwal@nxp.com>; Rahul Kumar Yadav > <rahulkumar.yadav@nxp.com>; Nikhil Singla <nikhil.singla@nxp.com>; > linux-crypto@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [EXT] Re: [PATCH v1] imx_v6_v7_defconfig: Enable sm3, sm4, > polyval, xctr cipher test support > > Caution: This is an external email. Please take care when clicking links or > opening attachments. When in doubt, report the message using the 'Report > this email' button > > > On Wed, Dec 20, 2023 at 12:38:57PM +0100, Kshitiz Varshney wrote: > > Enable config for sm3, sm4, polyval, xctr cipher test as built in module. > > > > Issue:- > > Multiple crypto tests like sm3, sm4 xctr and polyval failing. > > > > skcipher: failed to allocate transform for xctr(aes): -2 > > alg: self-tests for xctr(aes) using xctr(aes) failed (rc=-2) > > alg: self-tests for sm3 using sm3 failed (rc=-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=-2) > > > > 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. > > > > Signed-off-by: Kshitiz Varshney <kshitiz.varshney@nxp.com> > > The commit log and Signed-off-by lines shouldn't have leading > spaces/indent. Checkpatch has not reported any such issues. > > > --- > > arch/arm/configs/imx_v6_v7_defconfig | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > 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=y > > # CONFIG_SLUB_DEBUG is not set > > # CONFIG_SCHED_DEBUG is not set > > # CONFIG_FTRACE is not set > > +CONFIG_CRYPTO_HCTR2=m > > +CONFIG_CRYPTO_SM3_GENERIC=m > > +CONFIG_CRYPTO_SM4_GENERIC=m > > +CONFIG_CRYPTO_ARIA=m > > Instead of adding lines at the end of file, please use help from 'make > savedefconfig' to get them appear at the correct places. Changes done in v2. > > Shawn
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=y # CONFIG_SLUB_DEBUG is not set # CONFIG_SCHED_DEBUG is not set # CONFIG_FTRACE is not set +CONFIG_CRYPTO_HCTR2=m +CONFIG_CRYPTO_SM3_GENERIC=m +CONFIG_CRYPTO_SM4_GENERIC=m +CONFIG_CRYPTO_ARIA=m