From patchwork Wed Dec 14 17:46:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Masney X-Patchwork-Id: 13073320 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 03AD8C4332F for ; Wed, 14 Dec 2022 17:49:29 +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=B4GeHbTsaHLDfps+IHpUhz116vIB8IDhoFT/T3C+GBU=; b=Ty6p527XMKqjxe Qo0+UbC7y6hwKVynflSLq2DZNgIYp2xm1ENMmdUxX32BbUs95braNxhyfR6n8yBiUZ1y1UTitVkeZ 7flel5jpLYwn6iuMyEyrYlk98P18ZEV4VfAvz7Yay2r3gJ+9Jbs/kzfglSZqfWKwwWMuyFKs7emDH ZS2JvxO4lGR+/QhP6UZaybJozewIIohbNwO7+uXxd3GA/q5R61etIAdwlr/fgBJvrMB0heNTC9C2a Stmfgf7/nkkMPdsEJ9CCK53pWMwvrGrGEDGSKIpPigT05SJhDlDMX2JpHirlf0LRIC1i3du9hAxEz 6iok8A9BX0TMyTLLNGng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p5Vrb-001I4v-1F; Wed, 14 Dec 2022 17:48:15 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p5VrX-001I2y-Sr for linux-arm-kernel@lists.infradead.org; Wed, 14 Dec 2022 17:48:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671040089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MRU/7YOQt2xy6rWvIiu4YOafJ8TK5XKhpXf423rIVa8=; b=I/6O1fhL/LowjGSH3gHrcUIt15G7958mZhREHxddqWdTcpT/RbL/1mLnEQp/3fhOHi+KZt 4TD2q0hjFUIbvDYeQ9PNprtIkkhh1PwAxHru612Ekh2kPEdlfJNo3r1IFf+BXSYfqWoKqk RyRGCm4IhJFj7cnD3iJnjDZ3TQ85yiE= Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-326-qEOMkA7VPdG_eubKTGmaRA-1; Wed, 14 Dec 2022 12:46:18 -0500 X-MC-Unique: qEOMkA7VPdG_eubKTGmaRA-1 Received: by mail-io1-f72.google.com with SMTP id l22-20020a05660227d600b006dfa191ca8aso4292951ios.20 for ; Wed, 14 Dec 2022 09:46:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MRU/7YOQt2xy6rWvIiu4YOafJ8TK5XKhpXf423rIVa8=; b=zjsYQNd9dE2T5iPYF1fB6XM0OhDcpN16QgzqwR1d04MjzYPBQxGmzRLGj88EbOQAqg 4FLOJUxmWJrvcyPCms+I35DHQilkfYGWQzrP9PJU/Pk9E8hILsvIFGacEiDIiRZdhXas MZn4TBmU1cTDzzhxNzWfIDnf4xXnlsUDtbJzW4KGvpR1JsFzpjz2aPYTdbkOLRhg8WuM 4GOTB+AhdbBgrw/xuA9uXV1FNJTtTggpQslS5bn82CsGU67Tf+YlmtfTXOXOwUBl8Ar7 UZxn+8ejfhiG8D4X9Mu/bCJiVSKotnRJSvm3ks+RYGrJDDXvloAJ2Da19noxqIYHjdc3 oWzQ== X-Gm-Message-State: ANoB5pmruavMjo2vXdNl9mvNzd+CMUIX3wC8mvCz7OYFjI/VtACg1Ofn KMxrIfcpqMGdLecCNXV+aec5gTMTGJBjU2FVZe6mzGT6beXjfkvJO5iI79n7jXXDoB6Ubite9Wk amEzd3fuXbcraYl1HJqeRj//9bArI+mCDP9I= X-Received: by 2002:a92:d644:0:b0:302:3883:e567 with SMTP id x4-20020a92d644000000b003023883e567mr12733991ilp.29.1671039977125; Wed, 14 Dec 2022 09:46:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf4SQFXckK9/JRL6xKFoc8c9f5Tf7g8nePOQ32v8JjKhIjrT887ZPaM+qLxN/EXk8MQ3BE7Eqw== X-Received: by 2002:a92:d644:0:b0:302:3883:e567 with SMTP id x4-20020a92d644000000b003023883e567mr12733970ilp.29.1671039976890; Wed, 14 Dec 2022 09:46:16 -0800 (PST) Received: from x1.redhat.com (c-73-214-169-22.hsd1.pa.comcast.net. [73.214.169.22]) by smtp.gmail.com with ESMTPSA id t11-20020a02b18b000000b0038ab4a09610sm1898401jah.112.2022.12.14.09.46.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 09:46:16 -0800 (PST) From: Brian Masney To: catalin.marinas@arm.com, will@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH] arm64: defconfig: enable crypto userspace API Date: Wed, 14 Dec 2022 12:46:07 -0500 Message-Id: <20221214174607.2948497-1-bmasney@redhat.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221214_094812_044045_033A52B5 X-CRM114-Status: UNSURE ( 8.19 ) 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 Enable CONFIG_CRYPTO_USER so that libkcapi can be used. This was tested using kcapi-rng on a Qualcomm SA8540p automotive development board. Signed-off-by: Brian Masney Reviewed-by: Dmitry Baryshkov --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 851e8f9be06d..cbe4ed6403d0 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1370,6 +1370,7 @@ CONFIG_9P_FS=y CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ISO8859_1=y CONFIG_SECURITY=y +CONFIG_CRYPTO_USER=y CONFIG_CRYPTO_ECHAINIV=y CONFIG_CRYPTO_MICHAEL_MIC=m CONFIG_CRYPTO_ANSI_CPRNG=y