Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577408

Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize()

From Stephan Müller <smueller@chronox.de>
Newsgroups linux.kernel
Subject Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize()
Date 2017-02-09 10:30 +0100
Message-ID <t8Td8-4n9-23@gated-at.bofh.it> (permalink)
References <t8Odr-187-5@gated-at.bofh.it> <t8QIi-2yx-11@gated-at.bofh.it> <t8STL-4gx-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am Donnerstag, 9. Februar 2017, 02:04:32 CET schrieb Alden Tondettar:

Hi Alden,

> On Thu, Feb 09, 2017 at 07:47:25AM +0100, Greg Kroah-Hartman wrote:
> > On Wed, Feb 08, 2017 at 08:31:26PM -0700, Alden Tondettar wrote:
> > > In short, the situation is:
> > > 
> > > A) No usable hardware RNG or arch_get_random() (or we don't trust it...)
> > 
> > Wait, why would you not trust arch_get_random()?  Is it broken somehow
> > on some arches?  If so, why not fix that as well?
> 
> arch_get_random() makes use of RDRAND and similar CPU features. Some people
> do not wish to trust black-box RNG implementations.

Furthermore, this function is only implemented on x86. On other arches, it is 
a noop.

Ciao
Stephan

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] random: Don't overwrite CRNG state in crng_initialize() Alden Tondettar <alden.tondettar@gmail.com> - 2017-02-09 05:10 +0100
  Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize() Theodore Ts'o <tytso@mit.edu> - 2017-02-09 05:20 +0100
    Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize() Alden Tondettar <alden.tondettar@gmail.com> - 2017-02-09 09:20 +0100
      Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize() Theodore Ts'o <tytso@mit.edu> - 2017-02-09 19:40 +0100
      Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize() Theodore Ts'o <tytso@mit.edu> - 2017-02-09 20:10 +0100
  Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-09 07:50 +0100
    Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize() Alden Tondettar <alden.tondettar@gmail.com> - 2017-02-09 10:10 +0100
      Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize() Stephan Müller <smueller@chronox.de> - 2017-02-09 10:30 +0100
      Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-09 10:30 +0100

csiph-web