Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2781956pxk; Sun, 4 Oct 2020 11:49:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMuE52Q/HV90TP9q7Hk8jEoQDiYJbTGABJWAB8C2INLcUDynvT1/q6RPYBWfqB8xsBifZj X-Received: by 2002:a50:bb4b:: with SMTP id y69mr3783119ede.319.1601837355163; Sun, 04 Oct 2020 11:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601837355; cv=none; d=google.com; s=arc-20160816; b=lQOeoGXKXkVaxTgwf3eR/2Tv66PPXnq0DyQ8++/7yH65hmuygY/1FFQYdkQqjcfhAP 3jB1kUAMWoj/+N3ecQK+x/Dfh8tjotRh5j/uQKqWjx3jQl83AzUYxP6c4vvXP7yoETdu D6JJHKSbKU8L8nvjfzDQEwaBVhVQzSeI6iSB0D5ZOfL7pSkqBQ0VBxLKIGYAxr0I9H89 y+Y9Pu6/dV+Ig8SE3kC4wk8ar/pvD4KZ9UIDlWgChyLkqqUsYpj8WEw/IuAoE/wbBCCZ 8HK0R+v5bV62b5oV+gkaTGRM7Z+vvx8S3KYJxsd6dCCjX01RB7dA7I1xRCgDA7Pso/Yr hGlA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jb55CfmhnQCfrQYMa+E0GB6f9VItN2e0JBTcCBghgCo=; b=gfSrlHZU0Qoh3BFvmkYMTJrqSIALqsA9dEPt9YyZZyIjckGCmOXciaw96TJJ+nzkRk rWFNXetNQShknxAYAj7YVRLNoxuY2v37sEOrNl00xsK4sbEqaKf912s3N5YRxi5QN0U6 lQ6FBjsmLSteKtRg8LQX+vtWbqSlFxJXMWQaIOipWMMluKmF6pMVrelwRnKG+atxWrFO H6q3Q2RkgQ0RACXdbXMvsc9+0jjJd2ZRoNNORaFcgsfUqhruN2bOZeURtvtbKGcCGs2Z y/RdZa2/r3bseVfKYtPWXa3GT80CmdE1uHHt9ED/Jfsb4CVxCkyvvqCxxcyiuCpr4r0z VGkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chronox.de header.s=strato-dkim-0002 header.b="nPs7V0/F"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si4356243ejw.477.2020.10.04.11.48.32; Sun, 04 Oct 2020 11:49:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@chronox.de header.s=strato-dkim-0002 header.b="nPs7V0/F"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726351AbgJDSsI (ORCPT + 99 others); Sun, 4 Oct 2020 14:48:08 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.53]:16199 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726085AbgJDSsI (ORCPT ); Sun, 4 Oct 2020 14:48:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1601837284; s=strato-dkim-0002; d=chronox.de; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=jb55CfmhnQCfrQYMa+E0GB6f9VItN2e0JBTcCBghgCo=; b=nPs7V0/Fw1a7ovo1gu8+SDX28z/N4shbCN9/U/LNEoa8P8sS7sh6zoORlyQXRN56Pc Bc4NjqlVkVsRQsBTimeVGf9IFeaKNejMlguMmfm17pah59lWaeNwufqdcfY7JeOdCYbF GWX3ZTPCjZZb5mpk/ZB+HP0c4SMBXHVXlyaLXqdzggls7M+lyREk6D4++MazVna814to r6Vd7rmR9o+8g6SbJ4samu7/9Oi62qvW5ARF3ZFQ/mYO3mTTwNF2ghlvGTVgHstuim3/ FQ9GeUZd+MVXfNMXr8uKDsfrRSQLitrxCBtyJyrH8VNsLemqm4V3s9CuKI1AXa9SI4RK COLA== X-RZG-AUTH: ":P2ERcEykfu11Y98lp/T7+hdri+uKZK8TKWEqNyiHySGSa9k9xmwdNnzGHXPZJfSYkOI=" X-RZG-CLASS-ID: mo00 Received: from positron.chronox.de by smtp.strato.de (RZmta 47.2.1 DYNA|AUTH) with ESMTPSA id C0b627w94Im39EY (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sun, 4 Oct 2020 20:48:03 +0200 (CEST) From: Stephan =?ISO-8859-1?Q?M=FCller?= To: Palmer Dabbelt , Christoph Hellwig Cc: linux-riscv@lists.infradead.org, kernel-team@android.com, kernel test robot , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] crypto: jitterentropy - bind statically into kernel Date: Sun, 04 Oct 2020 20:48:06 +0200 Message-ID: <5692716.lOV4Wx5bFT@positron.chronox.de> In-Reply-To: <20201002064905.GA27115@infradead.org> References: <20200930065617.934638-1-palmerdabbelt@google.com> <20201002064905.GA27115@infradead.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The RISC-V architecture is about to implement the callback random_get_entropy with a function that is not exported to modules. Thus, the Jitter RNG is changed to be only bound statically into the kernel removing the option to compile it as module. Reported-by: Christoph Hellwig Signed-off-by: Stephan Mueller --- crypto/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index 094ef56ab7b4..5b20087b117f 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -1853,7 +1853,7 @@ config CRYPTO_DRBG endif # if CRYPTO_DRBG_MENU config CRYPTO_JITTERENTROPY - tristate "Jitterentropy Non-Deterministic Random Number Generator" + bool "Jitterentropy Non-Deterministic Random Number Generator" select CRYPTO_RNG help The Jitterentropy RNG is a noise that is intended -- 2.26.2