From patchwork Sun Dec 15 21:08:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jason A. Donenfeld" X-Patchwork-Id: 181626 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp3536172ile; Sun, 15 Dec 2019 13:08:18 -0800 (PST) X-Google-Smtp-Source: APXvYqyrXD8wQNKJp8hmE3M81MwZZNcq+HozmWo8Gk5b/iGwnnFeH6u6Tw7vrexJXTzzq9LfyN19 X-Received: by 2002:a9d:4f0e:: with SMTP id d14mr26655726otl.90.1576444098118; Sun, 15 Dec 2019 13:08:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576444098; cv=none; d=google.com; s=arc-20160816; b=Jt8504lHQAx1NXkzBidDt8AiN9ufFkUElYPcN+N7MXOXn07ZyKsF0obJ+BHmRuWN6x vzUmQq6UKaZF/dDTSHXzP2kygOf2c/DgMKvxZw1xBBM5Ig43/KHPfIK+dpNLGhUJwVIq z0P5EWGiLx1z8fKQhSoMn6pqFPfCQmg5fSO5jWtwo+em1tmA6DjDXF3fyXlvtIvU2eRl 5s/tQlH1EKRfgd462KwcQ0u3AjAqpkQQZZzdStkZcDugnrw5mmlSrliGmS5MS/6rZ2/Y jGdBd0wZZa6Jt9e3APhTdhdVDLhtXDw9+eEdZRS3QTbuxHINZpMOQhE94n4EbmNr/X7r DZvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=opspAlgkXcpTDK2lBDK3TI2/2Cp+vtt7KXN6pbwfhgU=; b=qX7n4bKUlzInceb9/QaKL2arIHoG0bGvXKoAi+noRZwPcTKTr9uyxdKoTb1lzaixtN 7YBGlMQWEu/bf4kUv/Qv/f78WQlEEMJEO4puObT3/sB0jcAeUw3SlEIUT5s2U6z5eCVH m7bA2az+PyymtsRa6kv/fRTsB8waSgjUUvgDiiwdvxPQ9VnH9hmMWA+sW43IO8cn7Hs8 wXWKSAsQjPhh2UQHIG/pcdFI/OK10NXQ5FM/saKoMOiOOPQophow0lnuUAhNSxZA5izQ bwSwJ38d36YJT+iBaxjaojG1OXPczKpk8T09rxGtdV0OVi/J56kocDapQnGSfKp6XQq4 Gebg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=az54vq8A; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j23si8614741otr.48.2019.12.15.13.08.17; Sun, 15 Dec 2019 13:08:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=az54vq8A; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726536AbfLOVIR (ORCPT + 9 others); Sun, 15 Dec 2019 16:08:17 -0500 Received: from frisell.zx2c4.com ([192.95.5.64]:48739 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbfLOVIQ (ORCPT ); Sun, 15 Dec 2019 16:08:16 -0500 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id bc6e72f2; Sun, 15 Dec 2019 20:11:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=mail; bh=7ExIoK5Bh005bUCG0kwZNDsQp /g=; b=az54vq8Aj98bZjO8Sy2RewF720mrZEVHKhI2Tmiq8YLeTVxxXJnKru677 nVrN03JSd4g+gjKC7r4sft8k1SFKl3WhusjIp8aO3dzjxGeEM1vk9ZUQHIYrwIAa PsLBYOf8iNueDor1yuoGD5pmNRfp9Mk7f8N//EgJhHJwPaMxQtP5bWnAYRlhix9n 7ANyg/oQoxwPDNeyAvi1pUvtx2E6S4Ia2E0Yg7nxYbmFd9plnK9h8msNhIKASO2b m+b/kpcgdo6FE/MNv0ZPK9d5vUDWUeQFL5bQfhnCF314K3J0x8fEkIFGQfML2tVP n70vZ3hA9ZjorEzntFCOJ8slZN8MA== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 117a88ef (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sun, 15 Dec 2019 20:11:58 +0000 (UTC) From: "Jason A. Donenfeld" To: davem@davemloft.net, netdev@vger.kernel.org Cc: "Jason A. Donenfeld" Subject: [PATCH net-next 2/5] wireguard: Kconfig: select parent dependency for crypto Date: Sun, 15 Dec 2019 22:08:01 +0100 Message-Id: <20191215210804.143919-3-Jason@zx2c4.com> In-Reply-To: <20191215210804.143919-1-Jason@zx2c4.com> References: <20191215210804.143919-1-Jason@zx2c4.com> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This fixes the crypto selection submenu depenencies. Otherwise, we'd wind up issuing warnings in which certain dependencies we also select couldn't be satisfied. This condition was triggered by the addition of the test suite autobuilder in the previous commit. Signed-off-by: Jason A. Donenfeld --- drivers/net/Kconfig | 2 ++ 1 file changed, 2 insertions(+) -- 2.24.1 diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index ffe8d4e2b206..01e2657e4c26 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -85,6 +85,8 @@ config WIREGUARD select CRYPTO_POLY1305_X86_64 if X86 && 64BIT select CRYPTO_BLAKE2S_X86 if X86 && 64BIT select CRYPTO_CURVE25519_X86 if X86 && 64BIT + select ARM_CRYPTO if ARM + select ARM64_CRYPTO if ARM64 select CRYPTO_CHACHA20_NEON if (ARM || ARM64) && KERNEL_MODE_NEON select CRYPTO_POLY1305_NEON if ARM64 && KERNEL_MODE_NEON select CRYPTO_POLY1305_ARM if ARM