[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140804222521.GB5263@thunk.org>
Date: Mon, 4 Aug 2014 18:25:21 -0400
From: Theodore Ts'o <tytso@....edu>
To: Andy Lutomirski <luto@...capital.net>
Cc: kvm@...r.kernel.org, "H. Peter Anvin" <hpa@...or.com>,
linux-kernel@...r.kernel.org, Kees Cook <keescook@...omium.org>,
x86@...nel.org, Daniel Borkmann <dborkman@...hat.com>,
Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com>,
Raghavendra K T <raghavendra.kt@...ux.vnet.ibm.com>,
Gleb Natapov <gleb@...nel.org>,
Paolo Bonzini <pbonzini@...hat.com>, bsd@...hat.com,
Andrew Honig <ahonig@...gle.com>
Subject: Re: [PATCH v5 2/5] random: Add and use arch_get_rng_seed
On Wed, Jul 23, 2014 at 09:57:28PM -0700, Andy Lutomirski wrote:
> Currently, init_std_data contains its own logic for using arch
> random sources. This replaces that logic with a generic function
> arch_get_rng_seed that allows arch code to supply its own logic.
> The default implementation tries arch_get_random_seed_long and
> arch_get_random_long individually.
>
> The only functional change here is that random_get_entropy() is used
> unconditionally instead of being used only when the arch sources
> fail. This may add a tiny amount of security.
>
> Signed-off-by: Andy Lutomirski <luto@...capital.net>
Acked-by: Theodore Ts'o <tytso@....edu>
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists