Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9129334pxu; Mon, 28 Dec 2020 07:20:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzahx6wH/7JWKvWHrVkD4D6wP9A57e6aVeoZyGzkGv2efiRGLbWvgqqupj/gzdwIcUsqEHd X-Received: by 2002:a50:d888:: with SMTP id p8mr42795581edj.147.1609168815890; Mon, 28 Dec 2020 07:20:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609168815; cv=none; d=google.com; s=arc-20160816; b=ai6PgpvLMSl/UGlIx4zFl+JWdr6tGNsVNXfobc2YPXgDBzGD62ueFUiIcOkLvqmJ+F v/3bgEu0FRRICcfSw9qHD8BQt5XydspzFx1WRoMkf25y/HoMvG2zYnDQoOxUkg0WBpnE ARxTDKqiCTZ9QXNHAWmtTuX9XEPBS6Dqi2htHt0W4Yo1mJ/9OCqog2FvyENL+czzh1eK lbJvhCbP9Zstvs4GVFLp6qEV8U42PN+VIA1Ks3qmjKStt/DRlq33H8f2klNGXElKLNtz xhbbZrB0eHl9GUw+XXVs1TRVZhFs8klcukI1Y3obonZHa97I/t0r1fNYcxOE70P/25Xr iEtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ukyp7hfMxBrzD3Kqt3O8vFoGl0So2JRlRQOJFQeh2Dk=; b=g3ncmrR2jm5gxvN7dsxGXDANQlM0TfZKBTfvXgvjQZq5nSMZvLUT6Ns20dMVqLIN8E E5x95ghRXe6cYvi+MhnITcyiVOs2D8vyxravE6qQVxdrbfAFi8V1RPzd2inrhcjcdhfQ CSngyMNJ6cBiIeiZIvlEWNzTf2Qqy+M4NDS6DvE5O7f1VL+FHZfAnSL6g/8467DSJ709 /7lPO13+ZeUA5qPjaaS++9mMk4bPiEjjCimm4Ll/5Gl9u7ezG29lKwYVEmlmXOchLgKQ zpNCKk5hdgJQXFxGEmGnyU4GqOCEzRMaubcKH0sjB/MY++0PUFOeAKrWaQh5hyQsXjvK pRpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YbNMd+4x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a13si20955605edb.419.2020.12.28.07.19.52; Mon, 28 Dec 2020 07:20:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YbNMd+4x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437428AbgL1OEk (ORCPT + 99 others); Mon, 28 Dec 2020 09:04:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:38836 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437380AbgL1OEe (ORCPT ); Mon, 28 Dec 2020 09:04:34 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id AC668207CC; Mon, 28 Dec 2020 14:03:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164234; bh=y7iakMPtbfVP2HoO/fYnalgpMO7wdd/HzF17UrpbBEY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YbNMd+4xAF6/nhGRaP8xfHpprwK9F/Eov0XwRjsgoaYqYTkDu3pKO3gb0HowTifrD 93bX3anSQgyKOV09KNQOMtCf5ZkjFm/3R4iPmPlrW/p6x8PBK6tz0iVRHAsYdzaWR+ LjbBpIlOrS4heVGBNxYpJxku154znojE7JgXkd4s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Jason A. Donenfeld" , Herbert Xu , Sasha Levin Subject: [PATCH 5.10 107/717] crypto: Kconfig - CRYPTO_MANAGER_EXTRA_TESTS requires the manager Date: Mon, 28 Dec 2020 13:41:45 +0100 Message-Id: <20201228125026.082236817@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jason A. Donenfeld [ Upstream commit 6569e3097f1c4a490bdf2b23d326855e04942dfd ] The extra tests in the manager actually require the manager to be selected too. Otherwise the linker gives errors like: ld: arch/x86/crypto/chacha_glue.o: in function `chacha_simd_stream_xor': chacha_glue.c:(.text+0x422): undefined reference to `crypto_simd_disabled_for_test' Fixes: 2343d1529aff ("crypto: Kconfig - allow tests to be disabled when manager is disabled") Signed-off-by: Jason A. Donenfeld Signed-off-by: Herbert Xu Signed-off-by: Sasha Levin --- crypto/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index 094ef56ab7b42..37de7d006858d 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -145,7 +145,7 @@ config CRYPTO_MANAGER_DISABLE_TESTS config CRYPTO_MANAGER_EXTRA_TESTS bool "Enable extra run-time crypto self tests" - depends on DEBUG_KERNEL && !CRYPTO_MANAGER_DISABLE_TESTS + depends on DEBUG_KERNEL && !CRYPTO_MANAGER_DISABLE_TESTS && CRYPTO_MANAGER help Enable extra run-time self tests of registered crypto algorithms, including randomized fuzz tests. -- 2.27.0