From patchwork Fri Feb 4 13:59:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 12735125 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 14C17C433EF for ; Fri, 4 Feb 2022 14:01:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=86L9BD+yJpk1Kky0MOpefPhNtcQEUllRy+rEUFEOt/c=; b=ucr0WAZGSxX3xT taNMCpARqISIpVNpKRLSINYctR/XObMKCieyV0YfY2oSDM+gQMABlFMg8ktI8zWwB7K+peLu6l9io DXitb7rd+k7sYS2pXS7x4mcuHuz5vmAUh8yN2jvacB0i323N/1uikWtYkBA8w16ienjpmSjqkcRar UdLFlWMyUC/WMGUVe75VSFu/D/PbhQyUg83/7URhwytsHRbmWHCiPObrwTjyeYJ91J7zduty0dzyF +Gwh6gDaUZ8ajCuid6rYHpUozVpNJZO16kbMZ3KDsIc7f1rXvkd2ckJT4FXcF6sedkpy0cNvqPkTF q7OQOC+aPAn17LrUfGUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFz7L-004U2q-Iw; Fri, 04 Feb 2022 13:59:16 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFz7G-004U1K-EG for linux-arm-kernel@lists.infradead.org; Fri, 04 Feb 2022 13:59:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1643983150; x=1675519150; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=vIiDumgiYLPsUjrQQKiQ4DZXahKAc2IiKe0w73Hjfd4=; b=rgJl7JAY+o6DxVlrjvTB3+9O5En3GuOUIflHWmSrLoVGuJeEfXqHGTlt 9fd+e8uOAaYIyi2+dd2GshtgK9NkUU3Hw1DtjNNyDlmDnKcNH05VYz+t1 vz5N5WK4hGNpb34LhieCvteKQAm0xDPOqLFBYePXhOGBoHo5L+mM+KrMx /4m44+dKQtS8YXF7nPoKD5ZT5UnDCAvGo+NL9C4Oue67LSMN+WDGkb4AN VeEpocAmzXGXMMt/xuj+9peT3B3qNO+O+S2MUZG+TiAc9jutpu8FRjhGs ZWwSSCnrZYOnKD/BaExcgUK5vdNa7PhjEcU3ljHBhxWE8My2UXLAuPOdq g==; IronPort-SDR: xSqAVpI98Oo2Avbl193bkaJgZerhegNz3O51wZviwEZgq+cYwCa+Whql701G+mzj689052h7Op Rq6KASA11tQLgXCNapM2uR+EOMQjvUkm+GtJYnbkFCCKV3O5UaePuBNYIB94NDy0s1QGUv5cCK CmO9UvP1Av47kgIkzALvqmIaEtA7hfR0iRBbUZjrQBjoyYxyV/fOLEDsVDxNnLov3iq5VjRu6+ /F/U3xVccxalyvkgEURfbJQcUqbf64u1FaLHXW7rfvxSCvXMXULl/NT1xJilYL2zOU23+8E6yJ FSGnBNej4sO8cbPgp8zqBc0v X-IronPort-AV: E=Sophos;i="5.88,342,1635231600"; d="scan'208";a="161114220" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Feb 2022 06:59:09 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 4 Feb 2022 06:59:09 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 4 Feb 2022 06:59:07 -0700 From: Tudor Ambarus To: , , CC: , , , , Tudor Ambarus Subject: [PATCH] ARM: configs: at91: sama7: Enable crypto IPs and software algs Date: Fri, 4 Feb 2022 15:59:05 +0200 Message-ID: <20220204135905.512013-1-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220204_055910_519136_B9A0603A X-CRM114-Status: UNSURE ( 8.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Similar to sama5_defconfig, enable hardware acceleration for the sama7 crypto IPs, enable crypto software implementations in case the crypto IPs need a fallback to them, and enable the hash and skcipher user interfaces in case one wants to offload the crypto algs to the sama7 crypto IPs. Signed-off-by: Tudor Ambarus Acked-by: Nicolas Ferre --- arch/arm/configs/sama7_defconfig | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig index c12278174579..d6e27b837f88 100644 --- a/arch/arm/configs/sama7_defconfig +++ b/arch/arm/configs/sama7_defconfig @@ -196,7 +196,19 @@ CONFIG_NLS_CODEPAGE_850=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=y CONFIG_LSM="N" -# CONFIG_CRYPTO_HW is not set +CONFIG_CRYPTO_AUTHENC=y +CONFIG_CRYPTO_GCM=y +CONFIG_CRYPTO_CBC=y +CONFIG_CRYPTO_CFB=y +CONFIG_CRYPTO_OFB=y +CONFIG_CRYPTO_XTS=y +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_DES=y +CONFIG_CRYPTO_USER_API_HASH=m +CONFIG_CRYPTO_USER_API_SKCIPHER=m +CONFIG_CRYPTO_DEV_ATMEL_AES=y +CONFIG_CRYPTO_DEV_ATMEL_TDES=y +CONFIG_CRYPTO_DEV_ATMEL_SHA=y CONFIG_CRC_CCITT=y CONFIG_CRC_ITU_T=y CONFIG_DMA_CMA=y