Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753890AbbKGOcY (ORCPT ); Sat, 7 Nov 2015 09:32:24 -0500 Received: from mail-qg0-f49.google.com ([209.85.192.49]:36108 "EHLO mail-qg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753422AbbKGOar (ORCPT ); Sat, 7 Nov 2015 09:30:47 -0500 From: Sandy Harris To: "Theodore Ts\\'o" , Jason Cooper , "H. Peter Anvin" , John Denker Cc: linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Subject: [PATCH 2/7] Two new CONFIG options for the random(4) driver Date: Sat, 7 Nov 2015 09:30:37 -0500 Message-Id: <1446906642-19372-2-git-send-email-sandyinchina@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1446906642-19372-1-git-send-email-sandyinchina@gmail.com> References: <1446906642-19372-1-git-send-email-sandyinchina@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1294 Lines: 46 Signed-off-by: Sandy Harris --- drivers/char/Kconfig | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index a043107..0e0e6b5 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -603,5 +603,28 @@ config TILE_SROM source "drivers/char/xillybus/Kconfig" + +config RANDOM_INIT + bool "Initialise random(4) pools with random data (NEW)" + default n + help + Use /dev/urandom on development machine to set + up pools, different for each compile. + Compiles scripts/gen_random_init.c + Creates include/generated/random_init.h + +config RANDOM_GCM + bool "modified random(4) driver (EXPERIMENTAL)" + depends on RANDOM_INIT + default n + help + New version using the hash from AES-GCM. + Main goal decoupling so that heavy use of + /dev/urandom cannot deplete entropy for + /dev/random. + Should not be used in production before much + more analysis and testing is done. + When in doubt, say "N". + endmenu -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/