lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 14 Feb 2020 17:47:44 -0500
From:   "Theodore Y. Ts'o" <>
To:     Rob Herring <>
Cc:     Masami Hiramatsu <>,
        "" <>,
        Android Kernel Team <>,
        Mark Salyzyn <>,
        Arnd Bergmann <>,
        Greg Kroah-Hartman <>,
        Richard Henderson <>,
        Mark Brown <>,
        Kees Cook <>,
        Hsin-Yi Wang <>,
        Vasily Gorbik <>,
        Andrew Morton <>,
        Steven Rostedt <>,
        Mike Rapoport <>,
        Arvind Sankar <>,
        Dominik Brodowski <>,
        Thomas Gleixner <>,
        Alexander Potapenko <>,
        Jonathan Corbet <>,
        Mauro Carvalho Chehab <>,
        Josh Poimboeuf <>,
        Pawan Gupta <>,
        Juergen Gross <>,
        Linux Doc Mailing List <>
Subject: Re: [PATCH 2/3] random: rng-seed source is utf-8

On Fri, Feb 14, 2020 at 01:58:35PM -0600, Rob Herring wrote:
> On Fri, Feb 14, 2020 at 12:10 AM Masami Hiramatsu <> wrote:
> >
> > From: Mark Salyzyn <>
> >
> > commit 428826f5358c922dc378830a1717b682c0823160
> > ("fdt: add support for rng-seed") makes the assumption that the data
> > in rng-seed is binary, when it is typically constructed of utf-8
> Typically? Why is that?
> > characters which has a bitness of roughly 6 to give appropriate
> > credit due for the entropy.

This is why I really think what gets specified via the boot command
line, or bootconfig, should specify the bits of entropy and the
entropy seed *separately*, so it can be specified explicitly, instead
of assuming that *everyone knows* that rng-seed is either (a) a binary
string, or (b) utf-8, or (c) a hex string.  The fact is, everyone does
*not* know, or everyone will have a different implementation, which
everyone will say is *obviously* the only way to go....

	      	     		     	  - Ted

Powered by blists - more mailing lists