Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1437800rdb; Sat, 3 Feb 2024 06:22:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0JZL5nQXafPhLuwdE9NohRE/9cby9jzGMIWKRkiSXrc9UVAhN4L88IuTzuJwg+ugNyd5s X-Received: by 2002:a19:5e57:0:b0:511:4a38:351e with SMTP id z23-20020a195e57000000b005114a38351emr31054lfi.34.1706970128678; Sat, 03 Feb 2024 06:22:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706970128; cv=pass; d=google.com; s=arc-20160816; b=n4/OuePo+JJe05hcMdCjX6h9yLA4B5MQWmieU5PReEU30oByMfHLFADw8Hyrx4J02y 0DusXCkoZCD1SZcBhBR4yj9suYJn2IkbF0vWxNwaeDYm7ntTVD6fcBTy2DZNJzCHMxWE CXK+A4Yr+/aFbNmJ9DnaAEWIaG+lHeffpX9xV9AhOB2wC10yQdVul4j7pv6l6EE2ga55 WXM77Ds1wQxh0KP8Q5TvhLkC7Tmz/ewKsDY702Kq3pZFZgEGMbRACQWeOi8I+mWM4Ap0 G1Jxa+mP4GXPcBwcQYhX4yQk/hMEGJuh7+HQS8kQoVdHy+4H8hW0JhjrOpdES4ugC10Q NG+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ToEVaWIZ0fuUtYtDuSCMzcdantFPoh+MRoifqahhM0A=; fh=w3qXDr1/0xz1j3eFNbVMxHKchdL2ulQX27gja3Cs+Oo=; b=Rr2i3EwCRIsOlQhOdIi6hVV6EiXBFZ0b0u75TSi26kM30nV8REPVeGyPuqFwfAOKNU j0MWuv4MEP8qip9DzajnQ0GT2fG8eOEkoxttlZ6S4bpq4TCOFK0F/JKrwQfpOPwcovti qtU5UrXovrlMLwxxKqDlwCYL2Zswb2zfsqr6kLuVixDRYyqUMPmdHBwZwovLUuCdt906 hOCn4xElMIyK670JCfOQYNCAK9GSLwr3sB8uGSsPGKuTIZefgdCBbaFwW3YVcq4xnsCY QO8qVEzLMXctQP4cDr9mUDEZ/pfhRKtWS2qdozLRKXIZPe0HWQ6xGnN8G4rBZBYHlVix pbog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="mdM4/+k4"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-crypto+bounces-1825-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1825-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCX4llonZsMAT5RzgofBttl7bZT7ZGNP3qEPhxa2+DrgwSl7vaHr2k2ORbL0yjBjcuqBDbEkwhjv3mNCpoDCvdl7TsL0y/0OdLkmydy4Xw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cd21-20020a170906b35500b00a35ddad87e5si1939533ejb.930.2024.02.03.06.22.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 06:22:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-1825-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="mdM4/+k4"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-crypto+bounces-1825-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-1825-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 406F51F22803 for ; Sat, 3 Feb 2024 14:22:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2554D5DF2C; Sat, 3 Feb 2024 14:22:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mdM4/+k4" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1CD755E70; Sat, 3 Feb 2024 14:21:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706970120; cv=none; b=PRmb/Y34vBMUTNzqD+6Mx6y7wWCo1rrgiAhkDNfQYLJjuHlkGbVGes/zCpGI6LcuMBRQO2epi7mZjcdA9NJncu1CQG9zT5JhhPkM2X3fHs0h+Vi0vv+IVigxV172TbIngR3fip2+m8rMZn9IWOzCMOmxrKpma1wfQzzDm2r7uVw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706970120; c=relaxed/simple; bh=zYrf0P/Z30JJi7prvKKRaAdhW6IPCVPSFetbZi93Bt8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hET0LXyyfWzcYWWNX0t28qAf/swb0cu4VW6P5F7sZbvFEbmROUaZtgnza42mejP3ygSkK7nJyoRxhn4JGgoFHth8r3TYbg1UGnPCdpwLRfDNMS9xYr18mBgivUEx8AlIX6/ukISWOica0JNW2/AkxDjdmdjyx/NrxnCzkE88SiY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mdM4/+k4; arc=none smtp.client-ip=209.85.216.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-29631796acdso1327949a91.3; Sat, 03 Feb 2024 06:21:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706970118; x=1707574918; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ToEVaWIZ0fuUtYtDuSCMzcdantFPoh+MRoifqahhM0A=; b=mdM4/+k4aIBdegQ1Rigz3vbhjgH82MkxL1YVIKhf4VhWmEUaMb5qj8pzW7RsnYveYZ pxHRT07kGaETnX9aJoIaEz+1zZKFHRj9QQi2Z0/dObskFtZMpeGMgX02sGQQRtUiosu+ TSYDT/nSzhq5GQehIYePmwddDDugDNNlgjwptz8DJDDfKBT3Bg0uaFR0kqiBHfVCSNzF 90pzWMjDv4CSHH5CsqNsY8XoH1gWZUIg97cT5mqWWOJ581eh3dZPi7UQk8mhPIMTuw42 T9By5yGNlV3EqIZA+A5R2jfhYOXwupullNfRyRagjEaXl7+LmPLnJmwJf03gNEfF9vxq XqWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706970118; x=1707574918; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ToEVaWIZ0fuUtYtDuSCMzcdantFPoh+MRoifqahhM0A=; b=wCHXQSuSUGbaJucA34GT2AE6MU6jLKx7mevidDenZMA6a0R7o1PWtjC/JT6j7+PvP+ VDzST3sEiQvjsJe6NqbRiXYgDfgV1rq3jrAwTcDlbeu5rBlrLEz/TBQlX+FfeoIOrPLI DXYIxR5e0tRVYMPwkt1dddudP65823Te93iPgPySJ1HOq7s4QVar5+XRkhLM/dhNE9N+ ZsCXh3+yEGbnqrCclXylEXtySqs3r0GxBSv/07PPcqvax6hFrGF+miaDBhISfU42LYUW TofQvUM0a9GnbT4TY3oJWojY9WM85znQyhkTeRDFoTOifFQxf8wQO7EDLdnLKwLb0xup HUtQ== X-Gm-Message-State: AOJu0YwhalOWL81fCv8+93OUzC+U+renVQdbORxXuG6drq92LpIklhhv CmyLZch1Xp2vFI3kiMc6G/62z1vQG9kSe2c/0KjvY+LkV6LyHhQE X-Received: by 2002:a17:90a:43a3:b0:296:42ef:b3ce with SMTP id r32-20020a17090a43a300b0029642efb3cemr4449584pjg.28.1706970117959; Sat, 03 Feb 2024 06:21:57 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVpaILoBXRe6n7KCMUKDi5wsE0061FmwuOKEl8f0m4PFkkASp+8IAn4QcDehTnaYDfSvK9U0/Nr3cWoqLOaIOKxog/ZYNHoR249Y7XPrrB+GhfZPoZ97ZQEp73eKs/qdACjNCaaBsffOX9R9E4zJR9hlPmURm05MqQH90FTKMJTsnlR1BxVySBOzZ9Yuu1sjVhu6ar/Va3/xzq8d7E8XweZkqVV3IPoaFCNVG3NDEPtEkY30Hk2XctNfiTjr8APzpV0LS8QJ11EJxYFiJPO7qtZn+2c7C4H1pOiv9QMwJtAhBZ/eK/k3cWLP4G3nXDJex7/nMRhEPTrW5p6avAKfimXQWHp7hIA9007jrSNKyVYlemClkr9QFeH0NAnm53SaOyETX/NSEerURmce1ChPW0ZAwkBJ/QYNDVg2Ur/P2c7sj+p8eYKRBsKQsittfnYmX6oc1j+TyDaUBfOwJ5c+jxvvJBTx043Wqr7WUOunVfhlDBQ9JEmnx/hXMlofYehnW75JRwo4sn4faylL7/2 Received: from dragon (45.78.63.125.16clouds.com. [45.78.63.125]) by smtp.gmail.com with ESMTPSA id lh4-20020a170903290400b001d8ecf5ff6csm3340292plb.147.2024.02.03.06.21.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 06:21:57 -0800 (PST) Date: Sat, 3 Feb 2024 22:21:49 +0800 From: Shawn Guo To: Kshitiz Varshney Cc: Herbert Xu , Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team , Pengutronix Kernel Team , Varun Sethi , Gaurav Jain , Pankaj Gupta , Sahil Malhotra , Vabhav Sharma , Meenakshi Aggarwal , Rahul Kumar Yadav , Nikhil Singla , 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 Message-ID: <20240203142149.GI463595@dragon> References: <20231220113857.1127598-1-kshitiz.varshney@nxp.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231220113857.1127598-1-kshitiz.varshney@nxp.com> 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 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